commit | 07d08237d3ff08c6a53c6e8496bd255176e1d68f | [log] [tgz] |
---|---|---|
author | Frans Klaver <frans.klaver@xsens.com> | Wed Jan 14 09:15:35 2015 +0100 |
committer | Sebastian Reichel <sre@kernel.org> | Tue Jan 20 13:58:28 2015 +0100 |
tree | 4316178a8ee89d9451957f905eb2f4c45b6ed7fe | |
parent | 0a5c6a2276fe06a3ebb6a9ed26c0b8007074958e [diff] |
power: reset: ltc2952: prefer devm_request_irq over request_irq Make use of the fact that we allocated resources can be automatically deallocated. This reduces cleanup code and chance of errors. It also removes the need for the virq member of the ltc2952_poweroff_data struct. Signed-off-by: Frans Klaver <frans.klaver@xsens.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>