diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-07-02 17:19:52 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-09 00:16:13 +0200 |
commit | 930bf02299943c67a52919a23a3eaf5ee9abbbe1 (patch) | |
tree | 45d01bfdcc45d57c9fe6e1e274f573d58a428568 /include/linux/mfd | |
parent | 938848e7a5550ce28036ab30e2900b4672a540ee (diff) | |
download | linux-930bf02299943c67a52919a23a3eaf5ee9abbbe1.tar.gz linux-930bf02299943c67a52919a23a3eaf5ee9abbbe1.tar.bz2 linux-930bf02299943c67a52919a23a3eaf5ee9abbbe1.zip |
mfd: Guard tc3589x PM methods with CONFIG_PM_SLEEP
Guard PM methods with CONFIG_PM_SLEEP and get rid of some unneeded #ifdefs.
This fixes below build warnings:
CC drivers/mfd/tc3589x.o
drivers/mfd/tc3589x.c:361:12: warning: 'tc3589x_suspend' defined but not used [-Wunused-function]
drivers/mfd/tc3589x.c:375:12: warning: 'tc3589x_resume' defined but not used [-Wunused-function]
SIMPLE_DEV_PM_OPS already defines constant dev_pm_ops, thus also fix
'duplicate const' sparse warning.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
0 files changed, 0 insertions, 0 deletions