mfd: Guard adp5520 PM methods with CONFIG_PM_SLEEP
authorAxel Lin <axel.lin@gmail.com>
Mon, 2 Jul 2012 08:53:52 +0000 (16:53 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:13 +0000 (00:16 +0200)
commit938848e7a5550ce28036ab30e2900b4672a540ee
treeb970e0ad1c84261090745059d29a2cd7ef34c74b
parente03088972f6e38e90077eaf09acf7b8a327a2da2
mfd: Guard adp5520 PM methods with CONFIG_PM_SLEEP

This fixes below build warnings:
  CC      drivers/mfd/adp5520.o
drivers/mfd/adp5520.c:324:12: warning: 'adp5520_suspend' defined but not used [-Wunused-function]
drivers/mfd/adp5520.c:333:12: warning: 'adp5520_resume' defined but not used [-Wunused-function]

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/adp5520.c