summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorMilo Kim <milo.kim@ti.com>2015-08-25 08:54:12 +0300
committerMark Brown <broonie@kernel.org>2015-08-25 21:36:24 +0300
commit804486b19de92449203f95027c2b207d8c5d5c79 (patch)
treed1119a87d91e9a01dfb225ea677d01b976fd218e /drivers/extcon
parentd9ffae15f7b1933c71dfb7c5e8ef61296d2833d7 (diff)
downloadlinux-804486b19de92449203f95027c2b207d8c5d5c79.tar.xz
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>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions