aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorMilo Kim <milo.kim@ti.com>2015-08-25 14:54:12 +0900
committerMark Brown <broonie@kernel.org>2015-08-25 19:36:24 +0100
commit804486b19de92449203f95027c2b207d8c5d5c79 (patch)
treed1119a87d91e9a01dfb225ea677d01b976fd218e /drivers/extcon
parentregulator: lp872x: use the private data instead of updating I2C device platform data (diff)
downloadlinux-dev-804486b19de92449203f95027c2b207d8c5d5c79.tar.xz
linux-dev-804486b19de92449203f95027c2b207d8c5d5c79.zip
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