From: Mark Brown <hidden> Date: 2011-01-19 12:45:45
There is a move to deprecate bus-specific PM operations and move to
using dev_pm_ops instead in order to reduce the amount of boilerplate
code in buses and facilitiate updates to the PM core. Do this move for
the ad7879 SPI driver.
Signed-off-by: Mark Brown <redacted>
---
drivers/input/touchscreen/ad7877.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
From: Mark Brown <hidden> Date: 2011-01-19 12:45:45
There is a move to deprecate bus-specific PM operations and move to
using dev_pm_ops instead in order to reduce the amount of boilerplate
code in buses and facilitiate updates to the PM core. Do this move for
the ads7846 driver.
Signed-off-by: Mark Brown <redacted>
---
drivers/input/touchscreen/ads7846.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
From: Mark Brown <hidden> Date: 2011-01-19 12:45:45
There is a move to deprecate bus-specific PM operations and move to
using dev_pm_ops instead in order to reduce the amount of boilerplate
code in buses and facilitiate updates to the PM core. Do this move for
the ad7979 SPI driver.
Signed-off-by: Mark Brown <redacted>
---
drivers/input/touchscreen/ad7879-spi.c | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
I was looking at SIMPLE_DEV_PM_OPS definition and it turns into noop if
CONFIG_PM_SLEEP is not set (for systems with runtime PM only, for
example). This will lead to "unused function" compiler warnings (and I
think I have seen such reports for randconfig compiles off linux-next).
Do you think we coudl augment your patch thusly:
From: Mark Brown <hidden> Date: 2011-01-19 18:39:18
On Wed, Jan 19, 2011 at 09:40:38AM -0800, Dmitry Torokhov wrote:
I was looking at SIMPLE_DEV_PM_OPS definition and it turns into noop if
CONFIG_PM_SLEEP is not set (for systems with runtime PM only, for
example). This will lead to "unused function" compiler warnings (and I
think I have seen such reports for randconfig compiles off linux-next).
Do you think we coudl augment your patch thusly:
Looks sane to me - do you want me to redo the updates?
On Wed, Jan 19, 2011 at 06:39:16PM +0000, Mark Brown wrote:
On Wed, Jan 19, 2011 at 09:40:38AM -0800, Dmitry Torokhov wrote:
quoted
I was looking at SIMPLE_DEV_PM_OPS definition and it turns into noop if
CONFIG_PM_SLEEP is not set (for systems with runtime PM only, for
example). This will lead to "unused function" compiler warnings (and I
think I have seen such reports for randconfig compiles off linux-next).
quoted
Do you think we coudl augment your patch thusly:
Looks sane to me - do you want me to redo the updates?