hwmon: (lis3lv02d_i2c) Fix compile warnings
authorGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 19 Nov 2010 05:06:45 +0000 (21:06 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 22 Nov 2010 20:23:39 +0000 (12:23 -0800)
commit32292f49f9683622ad0fb95a8c754910121e7b16
treeefbedd422c84ec37cd059d047b6c7c191ff10fc7
parentc48a2916355337895aea33839d39810eb575e775
hwmon: (lis3lv02d_i2c) Fix compile warnings

This commit fixes the following compile warnings.

From v2.6.37-rc2/m68k/m68k-allmodconfig, v2.6.37-rc2/powerpc/powerpc-randconfig:
drivers/hwmon/lis3lv02d_i2c.c:222: warning: 'lis3_i2c_runtime_suspend' defined but not used
drivers/hwmon/lis3lv02d_i2c.c:231: warning: 'lis3_i2c_runtime_resume' defined but not used

Seen if CONFIG_PM_RUNTIME is not set.

From v2.6.37-rc2/sh4/sh-allyesconfig:
drivers/hwmon/lis3lv02d_i2c.c:191: warning: 'lis3lv02d_i2c_suspend' defined but not used
drivers/hwmon/lis3lv02d_i2c.c:201: warning: 'lis3lv02d_i2c_resume' defined but not used

Seen if CONFIG_PM is set but CONFIG_PM_SLEEP is not.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lis3lv02d_i2c.c