aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2021-09-03 10:29:15 +0300
committerJonathan Cameron <[email protected]>2021-10-19 08:27:34 +0100
commit298fdedc4aff5f6bb5386170a718e7043166d3cd (patch)
tree1f9487f6f3821f90de7309be5113f046104034dd /tools/perf/scripts/python/stackcollapse.py
parent7a29120c6e31e2f2ce3a0bacdcbc5efaf6603589 (diff)
iio: adc: axp288_adc: convert probe to full device-managed
This change converts the probe of this driver to use device-managed functions only, which means that the remove hook can be removed. The remove hook has only 2 calls to iio_device_unregister() and iio_map_array_unregister(). Both these can now be done via devm register functions, now that there's also a devm_iio_map_array_register() function. The platform_set_drvdata() can also be removed now. This change also removes the error print for when the iio_device_register() call fails. This isn't required now. Signed-off-by: Alexandru Ardelean <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions