Commit fa9ccb6b authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones
Browse files

mfd: ezx-pcap: Drop memory allocation error message



Drivers should not print error messages on memory allocation failures,
because core already does it.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260305-workqueue-devm-v2-7-66a38741c652@oss.qualcomm.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 44fb5d7b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -416,7 +416,6 @@ static int ezx_pcap_probe(struct spi_device *spi)
	pcap->workqueue = create_singlethread_workqueue("pcapd");
	if (!pcap->workqueue) {
		ret = -ENOMEM;
		dev_err(&spi->dev, "can't create pcap thread\n");
		goto ret;
	}