summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorMaxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>2018-07-22 23:33:29 -0400
committerGuenter Roeck <linux@roeck-us.net>2018-07-23 11:38:33 -0700
commit12005ec33f3a7eac0d508dde52cc9eeea2595ee9 (patch)
treec2bc350b9f98e482c54a12d6c28970cb64971a27 /tools/perf/scripts/python/mem-phys-addr.py
parentf1fd4a4db777030a2542701fb0d3a261d4472d6d (diff)
downloadlinux-12005ec33f3a7eac0d508dde52cc9eeea2595ee9.tar.bz2
hwmon: (iio_hwmon) Use devm functions
Use devm_iio_channel_get_all() to automatically release channels. Use devm_hwmon_device_register_with_groups() to automatically unregister the device. Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> [groeck: Dropped now unnecessary platform_set_drvdata() and hwmon_dev] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions