Re: [PATCH] net: smc91x: constify dev_pm_ops structures.

2017-06-29 Thread David Miller
From: Arvind Yadav Date: Thu, 29 Jun 2017 11:21:00 +0530 > dev_pm_ops are not supposed to change at runtime. All functions > working with dev_pm_ops provided by work with const > dev_pm_ops. So mark the non-const structs as const. > > File size before: >text data bss dec

[PATCH] net: smc91x: constify dev_pm_ops structures.

2017-06-28 Thread Arvind Yadav
dev_pm_ops are not supposed to change at runtime. All functions working with dev_pm_ops provided by work with const dev_pm_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 18709 401 0 191104aa6 drivers/net/ethernet/s