Skip to content
Commit 99a79565 authored by Fabio Estevam's avatar Fabio Estevam Committed by Sebastian Reichel
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 6136c41a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment