]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
cdx: controller: Drop useless probe success message
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 2 May 2025 06:20:35 +0000 (08:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2025 10:18:07 +0000 (12:18 +0200)
Drivers should be silent on probe success, unless they print some useful
information.  Printing "hey I probed" is not useful and kernel already
gives mechanism to investigate that (e.g. sysfs, tracing, initcall
debug).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com>
Link: https://lore.kernel.org/r/20250502-cdx-clean-v3-3-6aaa5b369fc5@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cdx/controller/cdx_controller.c

index 3df35833f0e0a994af0606eee0dc1dfc9c7c22f9..fce90926d3378ae60166426cbf8e4a4fe014af86 100644 (file)
@@ -205,7 +205,6 @@ static int xlnx_cdx_probe(struct platform_device *pdev)
                goto cdx_rpmsg_fail;
        }
 
-       dev_info(&pdev->dev, "Successfully registered CDX controller with RPMsg as transport\n");
        return 0;
 
 cdx_rpmsg_fail: