Axel Lin e9a1c5129d wm8350-regulator: fix wm8350_register_regulator error handling
In the case of platform_device_add() fail, we should call
platform_device_put() instead of platform_device_del()

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-07-27 11:29:27 +01:00
..
2010-07-20 16:25:41 -07:00
2010-07-01 09:39:48 +02:00
2010-07-20 16:25:41 -07:00
2010-07-20 16:25:41 -07:00
2010-07-19 13:17:37 -07:00
2010-06-29 15:29:31 -07:00
2010-06-01 12:04:35 -04:00
2010-06-23 22:49:07 +09:30