]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: humidity: Drop unnecessary -ENOMEM messages
authorDixit Parmar <dixitparmar19@gmail.com>
Fri, 22 Aug 2025 03:49:53 +0000 (09:19 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Aug 2025 11:35:39 +0000 (12:35 +0100)
commitfba366e66b15f2261d269ec6bcb73cb2ab7d599f
treecc1e24629b14296c89be51201274643c20a24558
parentfc3a8049293cef455fc585cfd36892e3992aeb14
iio: humidity: 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-5-db87f2974552@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/am2315.c
drivers/iio/humidity/dht11.c