Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2193605rwb; Fri, 5 Aug 2022 15:24:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR435+zx0wFTZVrL92TPRpYCcO6MNoHXaGUye7wP8w4S60LKcK0CkIR3oCL3alZ+Cae9Gvhn X-Received: by 2002:a17:907:2d0b:b0:730:63dd:748e with SMTP id gs11-20020a1709072d0b00b0073063dd748emr6709376ejc.307.1659738253680; Fri, 05 Aug 2022 15:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659738253; cv=none; d=google.com; s=arc-20160816; b=XCBLx9jtcn4KfOwBkXIDKaOWoYalcEJrWrM40FpTTisA467pBdbXKDlLuk0iC8swq7 NHXgXcO05qpgTm6YNxp5aF/PRajSRZuVJBHbnptLaGbRcqQ3WNYfhG2PKopJtdzYTQ3v BD9kvAoNIFiMwHzOrrO5vjbUR78Ld2adcUhQFYyAgetrOSBGBLj8uS2fQfczgutc7Ops d3N8tvNwQOGDjCgdlW88hQsg/BmKgdf6IEtDCJNTTFklpDI2h4iLYH4DijB5F51k1svR OB8vjhs60tjGCwVVnqYuZazePFrb6MyWUGuv1VgBEsYmaPrwi7uzK6ZmAGLEKcbt44HN dDog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1NBTqoFpnXN5ykip9VpkhHjmVjSZOFHetTC9ZF0HNA4=; b=vMZE7r9Lnnl4qqZLesiA3RLy2rYPCRoK1GWiUEtmfqjw4eSN2T5+Z10hRG43vsu++4 UxUyMRS+epShHJqtiJwatO3QQzxuAM96w4819DCCUUwvBnn8aW+rPtmMS7vp60zUQeQy R1hfsKsQdu844PZUIwqcUKyLd5P1Qk7rFYuP1HzYO69KZgOJ5rhzt5v8LZadL9VQ+ZXa /Q1j3Ru+nM3bhgrjuw4IZlzwHDN9S7lHXwfjJ9iAY8BTQOUhcYpCTguZCRWMghXNWFex 1+DgoZj9HuRCp0c2jb77Q428M4pcek0MX1l3FAu+cJUs5tx3EfvI49baKsb6UpvlQVDy v5Hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jz5-20020a170906bb0500b0072b83ed8d42si4527497ejb.82.2022.08.05.15.23.49; Fri, 05 Aug 2022 15:24:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236812AbiHEVj0 (ORCPT + 99 others); Fri, 5 Aug 2022 17:39:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232791AbiHEVjZ (ORCPT ); Fri, 5 Aug 2022 17:39:25 -0400 Received: from smtp.smtpout.orange.fr (smtp-30.smtpout.orange.fr [80.12.242.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F23C466107 for ; Fri, 5 Aug 2022 14:39:23 -0700 (PDT) Received: from pop-os.home ([90.11.190.129]) by smtp.orange.fr with ESMTPA id K52Podm6EkootK52Povc9j; Fri, 05 Aug 2022 23:39:22 +0200 X-ME-Helo: pop-os.home X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Fri, 05 Aug 2022 23:39:22 +0200 X-ME-IP: 90.11.190.129 From: Christophe JAILLET To: Mark Brown , Alexander Stein Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-spi@vger.kernel.org Subject: [PATCH] spi: lpspi: Simplify some error message Date: Fri, 5 Aug 2022 23:39:19 +0200 Message-Id: <253543c462b765eca40ba54c66f4e3fdf4acdeb7.1659735546.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org dev_err_probe() already prints the error code in a human readable way, so there is no need to duplicate it as a numerical value at the end of the message. Fixes: 12f62a857c83 ("spi: lpspi: Silence error message upon deferred probe") Signed-off-by: Christophe JAILLET --- drivers/spi/spi-fsl-lpspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index 19b1f3d881b0..cbbe8bbef90a 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -912,7 +912,7 @@ static int fsl_lpspi_probe(struct platform_device *pdev) ret = devm_spi_register_controller(&pdev->dev, controller); if (ret < 0) { - dev_err_probe(&pdev->dev, ret, "spi_register_controller error: %i\n", ret); + dev_err_probe(&pdev->dev, ret, "spi_register_controller error\n"); goto free_dma; } -- 2.34.1