Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2474722rwb; Fri, 5 Aug 2022 23:03:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR6CfE85JRNKbpiErzxBSfRcvHrjXvaf2W/u84o9lak1zIHrzRm0tItQsP4Rv7qUnomyCMnK X-Received: by 2002:a05:6a00:c96:b0:52e:979c:dd63 with SMTP id a22-20020a056a000c9600b0052e979cdd63mr9094876pfv.50.1659765793045; Fri, 05 Aug 2022 23:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659765793; cv=none; d=google.com; s=arc-20160816; b=nUHBvRC0xzRSQ8ufem1gRYRA3poPLvbYK8c5LIfBEzw13Zl2MsgZCzvHWDTl+fqzzk bsfX+W9RxFYyQokI7QUbpD+StPrSmG422R/Sn3kGsWTUBVjbPqs3yJ0WZUo/NzCfAsCP a3dFybYQCgmGRWMrsj97PiSk/Udgx5LkdC67D5GlqAX3Q6LuDtTP+NlwAOJz1bhn5UGa gkNwfgVliv6QFPL++lQE624IsVdE1iLBkejPEZBEEmgSmnQyZyBK230jQhpTEQYJ2TWx SZW9Da/BrIu2i5C4SLcps4A6fbkthmnn7mrLzVgMBo9Z5NoMB9UbD5wylsJmYThD/fcK t87w== 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=zuirfD6gmcLTEMIMoyuWem57WNP2EiR4b70CLhzVZ04=; b=Tpmu/08UTyPOHrO8n3VDUgUR+nANJ3RBNe3DMnb+XwSsZPZZ7KVKhdJGAGTdqGE4gl ipYzbVCL/uhE/nYVslZRwEtdf1kK6Qb7gUW7nbMFwGiZHSqWk16bnptUnrVxVZHiNn9p Efwo5f4qIA3+61ZiKlTuMo8M2ZXkQKjXfkZ1UKJx2fi+/lFAGpdE9J0/ZpCQ0C/0derU gKQjAZI1fvFds1pobPYN2ZQCgoFK2x5cFq6myP6hkqKigJPNYCrGcRdZjR2Jx292O2yU LFZDzpmC/GqwoYshTaMJRMddj3I+nT5dwn4p7BA5Of2omme3KdMoGlldMUORZ/FSyvtL zHQA== 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 g20-20020a056a001a1400b0052e802c48c3si6660810pfv.107.2022.08.05.23.02.39; Fri, 05 Aug 2022 23:03: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 S231222AbiHFFp4 (ORCPT + 99 others); Sat, 6 Aug 2022 01:45:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230369AbiHFFpy (ORCPT ); Sat, 6 Aug 2022 01:45:54 -0400 Received: from smtp.smtpout.orange.fr (smtp-23.smtpout.orange.fr [80.12.242.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85D5515A2A for ; Fri, 5 Aug 2022 22:45:53 -0700 (PDT) Received: from pop-os.home ([90.11.190.129]) by smtp.orange.fr with ESMTPA id KCdBo07tSUoLVKCdBon1QS; Sat, 06 Aug 2022 07:45:51 +0200 X-ME-Helo: pop-os.home X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Sat, 06 Aug 2022 07:45:51 +0200 X-ME-IP: 90.11.190.129 From: Christophe JAILLET To: Codrin Ciubotariu , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ASoC: sam9g20_wm8731: Simplify some error message Date: Sat, 6 Aug 2022 07:45:48 +0200 Message-Id: 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,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: 29f4078f777f ("ASoC: sam9g20_wm8731: Use dev_err_probe() for snd_soc_register_card()") Signed-off-by: Christophe JAILLET --- sound/soc/atmel/sam9g20_wm8731.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c index 4d25fb61c652..1430642c8433 100644 --- a/sound/soc/atmel/sam9g20_wm8731.c +++ b/sound/soc/atmel/sam9g20_wm8731.c @@ -172,7 +172,7 @@ static int at91sam9g20ek_audio_probe(struct platform_device *pdev) ret = snd_soc_register_card(card); if (ret) { dev_err_probe(&pdev->dev, ret, - "snd_soc_register_card() failed: %d\n", ret); + "snd_soc_register_card() failed\n"); goto err; } -- 2.34.1