]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: light: Drop unnecessary -ENOMEM messages
authorDixit Parmar <dixitparmar19@gmail.com>
Fri, 22 Aug 2025 03:49:54 +0000 (09:19 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Aug 2025 11:36:03 +0000 (12:36 +0100)
commitbdba20f5e642046b84c288d89a9443b3139b7981
treea27c2592344255d015d90cba9eab88fc6058df23
parentfba366e66b15f2261d269ec6bcb73cb2ab7d599f
iio: light: Drop unnecessary -ENOMEM messages

The drivers do not require their own error messages for error
-ENOMEM, memory allocation failures. So remove the dev_err()
messages from the probe().

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Link: https://patch.msgid.link/20250822-enomam_logs-v1-6-db87f2974552@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/stk3310.c