Re: [PATCH] tpm: tpm_crb: constify acpi_device_id.

2017-07-16 Thread Jarkko Sakkinen
On Thu, 2017-07-06 at 23:18 +0530, Arvind Yadav wrote: > acpi_device_id are not supposed to change at runtime. All functions > working with acpi_device_id provided by work with > const acpi_device_id. So mark the non-const structs as const. > > File size before: >text data bss

Re: [PATCH] tpm: tpm_crb: constify acpi_device_id.

2017-07-09 Thread Jarkko Sakkinen
On Thu, Jul 06, 2017 at 11:18:39PM +0530, Arvind Yadav wrote: > acpi_device_id are not supposed to change at runtime. All functions > working with acpi_device_id provided by work with > const acpi_device_id. So mark the non-const structs as const. > > File size before: >text data