Re: [PATCH v2] regulator: Avoid potential NULL dereference in reg_fixed_voltage_probe()
On Sun, Nov 27, 2011 at 08:07:57PM +0800, Axel Lin wrote: > 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>