From: Takeshi Yoshimura Date: Sun, 14 Jun 2015 11:55:18 +0000 (+0900) Subject: wm831x_power: Fix off-by-one at free_irq() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~149^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85a5965e1dc5473fd2ae5ff0cb071cfc597c3451;p=pandora-kernel.git 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 Acked-by: Charles Keepax Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed