]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: dac: adi-axi-dac: Make use of dev_err_probe()
authorNuno Sá <nuno.sa@analog.com>
Mon, 22 Dec 2025 13:48:02 +0000 (13:48 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 31 Dec 2025 17:59:26 +0000 (17:59 +0000)
commit976df66573f32cea9f02f1f569207b68f08d4ef1
treec5d234ce8aa95c016eb8347c0c585d38b1bd12f4
parentfe1846f61a82645f94d13ef2e6751f6cf69c60de
iio: dac: adi-axi-dac: Make use of dev_err_probe()

Be consistent and use dev_err_probe() as in all other places in the
.probe() path.

While at it, remove the line break in the version condition. Yes, it
goes over the 80 column limit but I do think the line break hurts
readability in this case.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/adi-axi-dac.c