summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_sys.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-29 09:02:08 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-29 10:40:19 (GMT)
commitbcda432194fc7c4a2dbe9d7146f00b4b21e66c8c (patch)
tree24ac992ed9dc5768f3f890543b40d59a86ab06ed /drivers/thermal/thermal_sys.c
parenta398eaa23e42b73216efbe03dc1d754b2e5d603c (diff)
downloadlinux-fsl-qoriq-bcda432194fc7c4a2dbe9d7146f00b4b21e66c8c.tar.xz
regulator: Fix the error handling if create_regulator fails
In the case of create_regulator() fails, goto the error path immediately. It does not make sense to update rdev->open_count if create_regulator fails. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/thermal/thermal_sys.c')
0 files changed, 0 insertions, 0 deletions