• Guenter Roeck's avatar
    hwmon: (lis3lv02d_i2c) Fix compile warnings · 32292f49
    Guenter Roeck authored
    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: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
    Acked-by: default avatarJean Delvare <khali@linux-fr.org>
    32292f49
lis3lv02d_i2c.c 7.15 KB