Aaro Koskinen 56baa66797 mfd: fix undefined twl4030-power resconfig value checks
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
drivers/mfd/twl4030-power.c:358: warning: comparison is always true due to
limited range of data type
drivers/mfd/twl4030-power.c:363: warning: comparison is always true due to
limited range of data type

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2009-12-13 19:21:25 +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:20:53 +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