diff options
| author | Stefan Popa <[email protected]> | 2018-12-13 14:46:16 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-12-22 16:58:13 +0000 |
| commit | c0683bfd3772337353e95decc2bf0421058088f7 (patch) | |
| tree | 8b3039ff8d53c8ea954a822a22970549f7686744 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 557e585c3fdba1f6cddb4516a82da53b52fd9963 (diff) | |
staging: iio: adc: ad7606: Use devm functions in probe
Switch to devm version of request_irq, iio_triggered_buffer_setup,
iio_device_register. To avoid potential ordering issues in probe,
devm_add_action_or_reset() is used for the regulator_disable(). This
simplifies the code and decreases the chance of bugs.
Signed-off-by: Stefan Popa <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions