regulator: lp872x: handle error case

If memory allocation gets failed on parsing the DT, then it returns error
'-ENOMEM' explicitly. Then, the driver exists from the _probe().

Signed-off-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Milo Kim 2015-08-25 14:54:12 +09:00 • committed by Mark Brown
commit 804486b19d