commit | 99a79565e6db676bca8c7aeddd9fec44e730965e | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Thu Oct 09 19:50:26 2014 -0300 |
committer | Sebastian Reichel <sre@kernel.org> | Mon Nov 17 03:07:11 2014 +0100 |
tree | 20a76e26384931cefc3d40390251190219622bc7 | |
parent | 6136c41ae9c7af4bd89d845bda5dd84b9c9f3138 [diff] |
power: ds2782_battery: Simplify the PM hooks The SIMPLE_DEV_PM_OPS() macro already takes care of the CONFIG_PM_SLEEP=n case, so we can simplify the code a little bit. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>