Skip to content

Commit fa9ccb6

Browse files
krzklag-linaro
authored andcommitted
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: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260305-workqueue-devm-v2-7-66a38741c652@oss.qualcomm.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 44fb5d7 commit fa9ccb6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/mfd/ezx-pcap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ static int ezx_pcap_probe(struct spi_device *spi)
416416
pcap->workqueue = create_singlethread_workqueue("pcapd");
417417
if (!pcap->workqueue) {
418418
ret = -ENOMEM;
419-
dev_err(&spi->dev, "can't create pcap thread\n");
420419
goto ret;
421420
}
422421

0 commit comments

Comments
 (0)