On Thu, Jun 29, 2017 at 03:00:28PM +0530, Arvind Yadav wrote:
> dev_pm_ops are not supposed to change at runtime. All functions
> working with dev_pm_ops provided by <linux/device.h> work with const
> dev_pm_ops. So mark the non-const structs as const.
> 
> File size before:
>    text          data     bss     dec     hex filename
>    3800           488       0    4288    10c0 
> drivers/staging/ccree/ssi_driver.o
> 
> File size After adding 'const':
>    text          data     bss     dec     hex filename
>    4010           288       0    4298    10ca 
> drivers/staging/ccree/ssi_driver.o
> 
> Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
> ---
>  drivers/staging/ccree/ssi_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

No longer applies to my staging-testing branch at all due to other
changes happening there.  Please rebase and resend.

thanks,

greg k-h
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to