summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-10-16 20:09:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 22:44:04 +0300
commitc247e0d8c0d50793f459d2a7997d2f8f2105c973 (patch)
tree06aa9fb14f754f07f0cb7e642d8191e4ba7d3d3f /Documentation/ABI
parentdc0ba516d103532b7f289b20119374fe3797f81b (diff)
downloadlinux-c247e0d8c0d50793f459d2a7997d2f8f2105c973.tar.xz
iio: adc: cc10001: Use devm_clk_get_enabled() to avoid boilerplate.
As this driver just enables clock in probe() and disables in remove() we can use this new function to replace boilerplate and simplify error paths. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20221016170950.387751-4-jic23@kernel.org
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions