summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-05-13 15:07:46 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-06-13 17:00:16 +0100
commit801a80eff4d71081a29ddfb627fe5a0330403c3b (patch)
tree22d87a54f7c0df6c2121805dae45911264d8c10e /scripts/gdb/linux/utils.py
parent718fb2bcf1034232599045fc710644d903c2af4b (diff)
iio: adc: ad7793: convert to device-managed functions
With the devm_ad_sd_setup_buffer_and_trigger() helper, it's a bit easier now to convert the probe of the AD7793 driver to use device-managed functions. Only the regulator disable requires a devm_add_action_or_reset() callback. This change does that, cleaning up the driver a bit. Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com> Link: https://lore.kernel.org/r/20210513120752.90074-7-aardelean@deviqon.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions