[PATCH] crypto: sahara: constify platform_device_id

2017-08-13 Thread Arvind Yadav
platform_device_id are not supposed to change at runtime. All functions working with platform_device_id provided by work with const platform_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/crypto/sahara.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH] crypto: sahara: constify platform_device_id

2017-08-22 Thread Herbert Xu
On Sun, Aug 13, 2017 at 02:34:00PM +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav P