summaryrefslogtreecommitdiffstats
path: root/drivers/power/rx51_battery.c
diff options
context:
space:
mode:
authorTakeshi Yoshimura <yos@sslab.ics.keio.ac.jp>2015-06-14 20:55:18 +0900
committerSebastian Reichel <sre@kernel.org>2015-06-15 12:30:32 +0200
commit85a5965e1dc5473fd2ae5ff0cb071cfc597c3451 (patch)
tree284ea1d8fc16662a4e7e81e597f2e7649748d3af /drivers/power/rx51_battery.c
parent3d7f1800af0e4a781195770644fc1297217ba71d (diff)
downloadop-kernel-dev-85a5965e1dc5473fd2ae5ff0cb071cfc597c3451.zip
op-kernel-dev-85a5965e1dc5473fd2ae5ff0cb071cfc597c3451.tar.gz
wm831x_power: Fix off-by-one at free_irq()
An error handling in wm831x_power_probe() mistakenly frees a failed-to- request irq as well as other irqs. I added missing decrement of the loop counter. Signed-off-by: Takeshi Yoshimura <yos@sslab.ics.keio.ac.jp> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/rx51_battery.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud