diff options
| author | Frans Klaver <[email protected]> | 2015-01-14 09:15:35 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2015-01-20 13:58:28 +0100 |
| commit | 07d08237d3ff08c6a53c6e8496bd255176e1d68f (patch) | |
| tree | 4316178a8ee89d9451957f905eb2f4c45b6ed7fe /tools/perf/scripts/python | |
| 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 <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions