[PATCH 0/4] pnp: Change pnp bus pm_ops to invoke pnp driver dev_pm_ops if specified
From: Shuah Khan
Date: Wed Jul 10 2013 - 00:11:56 EST
pnp_bus_suspend() and pnp_bus_resume() invoke legacy pm_ops from
pnp_driver. Changed pnp_bus_suspend() and pnp_bus_resume() to check
if pnp driver has dev_pm_ops and call. If dev_pm_ops don't exist, then
call use legacy pm_ops. Without this change, pnp_driver dev_pm_ops will
not get called.
In addition to the pnp driver bus pm_ops change to invoke driver dev_pm_ops,
this patch set contains changes to rtc-cmos, tpm_tis, and apple-gmux pnp
drivers to convert from legacy pm_ops to dev_pm_ops.
Shuah Khan (4):
pnp: Change pnp bus pm_ops to invoke pnp driver dev_pm_ops
rtc: convert rtc-cmos to dev_pm_ops from legacy pm_ops
tpm: Convert tpm_tis driver to use dev_pm_ops from legacy pm_ops
platform: Convert apple-gmux driver to dev_pm_ops from legacy pm_ops
drivers/pnp/driver.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
drivers/rtc/rtc-cmos.c | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
drivers/char/tpm/tpm_tis.c | 60 ++++++++++++++++++--------------------------
1 file changed, 24 insertions(+), 36 deletions(-)
drivers/platform/x86/apple-gmux.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/