diff options
author | Frans Klaver <frans.klaver@xsens.com> | 2015-01-14 09:15:35 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-20 13:58:28 +0100 |
commit | 07d08237d3ff08c6a53c6e8496bd255176e1d68f (patch) | |
tree | 4316178a8ee89d9451957f905eb2f4c45b6ed7fe /drivers/power/jz4740-battery.c | |
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>
Diffstat (limited to 'drivers/power/jz4740-battery.c')
0 files changed, 0 insertions, 0 deletions