diff options
| author | Alexandru Ardelean <[email protected]> | 2021-03-10 11:38:00 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-03-25 19:13:51 +0000 |
| commit | 70da64153123460a10f3cb53fa9edca3a0ec2727 (patch) | |
| tree | add23cec8b7768e69701e79e3370d742908c231f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 218bc53dc70022ac31381b43c82f4097a95b8605 (diff) | |
iio: temperature: tmp007: use device-managed functions in probe
This change converts the driver to use device-managed functions in the
probe function. The power-down call is handled now via a
devm_add_action_or_reset() hook, and then devm_iio_device_register() can be
used to 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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions