diff options
author | Milo Kim <milo.kim@ti.com> | 2015-08-25 07:54:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-25 20:36:24 +0200 |
commit | 804486b19de92449203f95027c2b207d8c5d5c79 (patch) | |
tree | d1119a87d91e9a01dfb225ea677d01b976fd218e /drivers/extcon | |
parent | regulator: lp872x: use the private data instead of updating I2C device platfo... (diff) | |
download | linux-804486b19de92449203f95027c2b207d8c5d5c79.tar.xz linux-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