diff options
| author | Alexandru Ardelean <[email protected]> | 2021-03-10 11:51:31 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-03-25 19:13:51 +0000 |
| commit | b627e3b5f73b8decc3ebfe46d93b23ecf6f143ab (patch) | |
| tree | 0593d9ab334f784c5b8614b572fb57da830a6cc5 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 70da64153123460a10f3cb53fa9edca3a0ec2727 (diff) | |
staging: iio: ad9834: convert to device-managed functions in probe
This change converts the driver to use device-managed functions in the
probe function. For the clock and regulator disable, some
devm_add_action_or_reset() calls are required, and then
devm_iio_device_register() function can be used register the IIO device.
The final aim here would be for IIO to export only the device-managed
functions of it's API. That's a long way to go and this a small step in
that direction.
Signed-off-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions