Arnd Bergmann
f65e9eacfa
mfd: twl4030: Don't warn about uninitialized return code
...
If the twl4030_write_script function gets called with
a zero length argument, its return value does not
get set. We know that all scripts have a nonzero
length, but returning an error in case they ever
do is probably appropriate.
Without this patch, building omap2plus_defconfig results in:
drivers/mfd/twl4030-power.c: In function 'load_twl4030_script':
drivers/mfd/twl4030-power.c:414:5: error: 'err' may be used uninitialized in this function
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: "Kristo, Tero" <t-kristo@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-01-27 02:18:01 +01:00
..
2013-01-12 14:00:06 +01:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:04 -08:00
2013-01-03 15:57:16 -08:00
2013-01-16 12:34:34 -08:00
2013-01-08 07:31:49 -08:00
2013-01-03 15:57:15 -08:00
2012-12-12 18:07:07 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:15 -08:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:15 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 13:11:19 +01:00
2013-01-15 14:18:04 +01:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-09 08:43:56 -08:00
2012-11-19 14:30:25 +01:00
2012-11-27 06:44:10 -08:00
2012-12-13 12:00:02 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-14 08:45:27 +10:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-11-21 12:46:40 -08:00
2013-01-09 21:47:22 -08:00
2012-11-28 11:41:36 -08:00
2012-12-22 20:13:45 +01:00
2013-01-03 15:57:03 -08:00
2013-01-03 13:11:05 +01:00
2013-01-14 09:08:38 -08:00
2013-01-03 15:57:15 -08:00
2013-01-04 10:30:11 -08:00
2013-01-03 15:57:14 -08:00
2012-12-11 14:08:47 -08:00
2012-12-14 14:42:53 -08:00
2013-01-03 15:57:02 -08:00
2013-01-02 17:58:41 -08:00
2012-12-18 15:19:06 +10:30
2013-01-03 15:57:14 -08:00
2012-12-21 17:08:06 -08:00
2013-01-03 15:57:02 -08:00
2013-01-03 15:57:14 -08:00
2012-11-15 17:30:14 -08:00
2013-01-03 15:57:14 -08:00
2013-01-27 02:18:01 +01:00
2013-01-16 11:33:52 -08:00
2013-01-27 01:29:57 +01:00
2013-01-03 15:57:03 -08:00
2013-01-12 15:33:01 -08:00
2013-01-03 15:57:16 -08:00
2012-12-19 10:58:53 +00:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:03 -08:00
2013-01-10 14:35:23 -08:00
2012-12-12 11:45:16 -08:00
2013-01-08 18:53:56 -08:00
2013-01-07 12:33:48 -05:00
2013-01-03 13:10:53 +01:00
2013-01-08 18:53:56 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2012-12-12 18:07:07 -08:00
2012-12-19 08:19:07 -08:00
2012-12-11 13:13:55 -08:00
2013-01-15 09:38:59 +09:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-01-11 14:54:54 -08:00
2013-01-16 15:57:54 +01:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:01 -08:00
2013-01-11 20:57:58 +09:00
2013-01-03 15:57:16 -08:00
2012-12-19 15:11:41 +00:00
2013-01-08 07:31:49 -08:00
2013-01-14 09:08:38 -08:00
2013-01-10 21:00:37 -08:00
2013-01-03 15:57:02 -08:00
2012-12-16 11:28:10 -08:00
2012-12-12 12:05:15 -08:00
2013-01-14 09:07:57 -08:00
2012-11-26 15:58:43 -08:00
2012-12-07 13:43:51 -07:00
2012-12-15 14:25:10 -08:00
2013-01-11 14:54:54 -08:00
2012-12-18 09:58:09 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-02 12:07:05 +01:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2012-11-16 08:14:18 -08:00
2012-11-16 08:14:18 -08:00