summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-04 19:52:35 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-04 22:13:32 +0100
commita69df8a14ae7b891ee22f0e4c081f3ff65c0640f (patch)
tree0dd61511a4e0218e41ee8827e76fae8a4b948b44 /COPYING
parentad9c5ffea8de1d989e205650bb46111b37498cf3 (diff)
downloadtalos-op-linux-a69df8a14ae7b891ee22f0e4c081f3ff65c0640f.tar.gz
talos-op-linux-a69df8a14ae7b891ee22f0e4c081f3ff65c0640f.zip
regulator: Fix rc5t583_regulator_probe error handling
1. regulator_register returns ERR_PTR on error, thus use IS_ERR to check the return value. 2. Fix off-by-one for unregistering the registered regulator. Current code does not unregister regs[0].rdev in clean_exit. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud