Amit Kucheria 53cf9a605d 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>
2009-12-13 19:21:30 +01:00
..
2009-12-13 19:20:37 +01:00
2009-12-13 19:20:40 +01:00
2009-09-17 09:47:21 +02:00
2009-12-13 19:21:26 +01:00
2009-09-23 07:39:43 -07:00
2009-12-13 19:20:53 +01:00
2009-11-27 21:07:21 +01:00
2009-07-03 11:54:50 +02:00
2009-06-17 19:41:52 +02:00
2009-06-17 19:41:52 +02:00
2009-06-17 19:41:52 +02:00
2009-11-27 21:07:21 +01:00
2009-09-17 09:46:59 +02:00
2009-01-04 12:17:42 +01:00