Axel Lin 22d881c068 regulator: Avoid potential NULL dereference in reg_fixed_voltage_probe()
of_get_fixed_voltage_config() may return NULL, return -ENOMEM in this case
so we don't dereference NULL pointer.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-11-27 19:46:31 +00:00
..
2011-11-10 15:57:59 -05:00
2011-10-02 00:19:34 +02:00
2011-11-08 17:11:57 +01:00
2011-10-31 19:31:57 -04:00
2011-11-09 23:02:12 +08:00
2011-11-14 11:16:26 +10:30