]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: ezx-pcap: Drop memory allocation error message
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Thu, 5 Mar 2026 21:45:46 +0000 (22:45 +0100)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:45:52 +0000 (12:45 +0000)
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>
drivers/mfd/ezx-pcap.c

index 24ca140d6a481de25cc43418adc4d174ec958787..cd0520a0822449f86600e7b790b42b27e3b0f877 100644 (file)
@@ -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;
        }