summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-06-20 09:30:46 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-07-06 10:37:51 +0100
commitb1c5f11dd183c7a7aec7350e298198ca1b8a7b25 (patch)
tree35c88119d392e59861c2bba84c7666d0681fb42f /scripts/gdb/linux/utils.py
parente602ee39986a3500762f8c05db84e931492293d4 (diff)
iio: adc: ad7173: simplify clock enable/disable
Use devm_clk_get_enabled() instead of devm_clk_get(), clk_prepare_enable(), devm_add_action_or_reset() to simplify the code as it effectively does the same thing. We can also drop ext_clk from struct ad7173_state since it is not used anywhere else. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250620-iio-adc-ad7173-simplify-clock-enable-disable-v1-1-8bc693b190ec@baylibre.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