Axel Lin
a69df8a14a
regulator: Fix rc5t583_regulator_probe error handling
...
1. regulator_register returns ERR_PTR on error, thus use IS_ERR to check the
return value.
2. Fix off-by-one for unregistering the registered regulator.
Current code does not unregister regs[0].rdev in clean_exit.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-04 22:13:32 +01:00
..
2012-04-01 11:59:40 +01:00
2012-04-04 12:27:55 +01:00
2012-04-01 11:59:23 +01:00
2012-04-01 11:59:23 +01:00
2012-04-01 11:59:36 +01:00
2012-03-14 12:37:35 +00:00
2012-03-21 10:34:56 -07:00
2012-03-11 20:48:52 +00:00
2012-04-01 11:59:35 +01:00
2012-01-20 12:01:29 +00:00
2012-01-20 12:01:29 +00:00
2012-01-20 12:01:29 +00:00
2011-11-23 18:47:04 +00:00
2010-10-28 22:40:32 +01:00
2012-03-03 16:32:47 +00:00
2012-04-02 23:17:53 +01:00
2012-04-04 11:38:52 +01:00
2012-04-04 11:39:03 +01:00
2012-04-04 11:48:02 +01:00
2012-04-04 11:39:17 +01:00
2012-04-01 11:59:28 +01:00
2012-04-04 11:48:02 +01:00
2012-03-11 20:48:49 +00:00
2012-04-04 11:39:27 +01:00
2012-04-04 11:39:37 +01:00
2012-04-02 23:15:19 +01:00
2012-04-01 11:59:32 +01:00
2012-04-01 11:59:33 +01:00
2012-03-11 20:48:54 +00:00
2012-04-02 23:24:46 +01:00
2012-04-02 23:24:46 +01:00
2012-03-11 20:48:44 +00:00
2012-04-02 23:24:46 +01:00
2012-01-26 11:01:21 +00:00
2012-04-01 11:59:29 +01:00
2012-04-01 11:59:23 +01:00
2012-04-04 22:13:32 +01:00
2012-04-01 11:59:22 +01:00
2011-11-23 18:47:04 +00:00
2012-03-14 14:13:17 +00:00
2012-04-04 11:39:46 +01:00
2012-04-01 11:59:32 +01:00
2012-04-02 23:16:16 +01:00
2012-04-01 11:59:35 +01:00
2012-04-01 11:59:32 +01:00
2012-03-12 10:50:46 +00:00
2012-03-24 11:29:58 +00:00
2012-04-01 11:59:25 +01:00
2012-03-11 20:09:18 +00:00
2011-11-28 11:49:13 +00:00
2011-11-28 11:49:13 +00:00
2012-04-01 11:59:30 +01:00
2011-12-20 11:29:05 +00:00
2012-04-01 11:59:37 +01:00
2012-03-12 10:48:18 +00:00
2012-03-11 20:48:51 +00:00
2012-03-11 20:48:41 +00:00