commit | 5c3faad29b266da015e3726cff6556df5c3cd9f5 | [log] [tgz] |
---|---|---|
author | Frans Klaver <frans.klaver@xsens.com> | Wed Jan 14 09:15:41 2015 +0100 |
committer | Sebastian Reichel <sre@kernel.org> | Tue Jan 20 13:58:30 2015 +0100 |
tree | f1c8a009fd4077eec507174728bb8336b67aae9d | |
parent | 0428c40d4c448f5dc63b0f76de14fa0affa7aa2f [diff] |
power: reset: ltc2952: cleanup control flow in poweroff_handler ltc2952_poweroff_handler uses gotos to return from the function. Since we don't do cleanups exiting this function, just return IRQ_HANDLED on the spot and be done with it. While at it, remove the variable 'ret'. It was never used very much. Signed-off-by: Frans Klaver <frans.klaver@xsens.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>