diff options
author | 2009-10-21 14:49:22 +0300 | |
---|---|---|
committer | 2009-12-13 19:21:30 +0100 | |
commit | 53cf9a605d75877550c1b9793d7e994401d08eb7 (patch) | |
tree | 2915a777055177360eb45e0097ca2b9bfda17f00 /include/linux/i2c | |
parent | mfd: Optimised twl4030-power power scripts for the rx51 (diff) | |
download | wireguard-linux-53cf9a605d75877550c1b9793d7e994401d08eb7.tar.xz wireguard-linux-53cf9a605d75877550c1b9793d7e994401d08eb7.zip |
mfd: Fix more undefined twl4030-power resconfig value checks
Based on Aaro's previous fix, this needs to be fixed for the newly added
remap_off and remap_sleep resources as well.
The code tries to skip values initialized with -1, but since the values
are unsigned the comparison is always true.
The patch eliminates the following compiler warnings:
drivers/mfd/twl4030-power.c: In function 'twl4030_configure_resource':
drivers/mfd/twl4030-power.c:338: warning: comparison is always true due to
limited range of data type
Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
0 files changed, 0 insertions, 0 deletions