summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2025-12-19 15:40:39 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-12-21 11:42:52 +0000
commit0a272aaf5fc110a34f4a5aeb61db4b6d105c62e9 (patch)
tree8e479d31a493df71eb4ea8cabb100a9d23e24a80 /include/linux
parent634a6316617e2ced7016b002d0b284a1502e9601 (diff)
iio: adc: adi-axi-adc: Slightly simplify axi_adc_create_platform_device()
There's no point in having a ret variable and checking for errors (as we do nothing with it). Instead, save some lines of code and directly return the devm_add_action_or_reset() call. Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions