Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2564383pxk; Sun, 27 Sep 2020 12:31:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUbCmfRZRgeNXp0LWw9zFYLSdbNGcU5pegAa9iBrwh8P44oHeW3tUCUkv9rkr5ePvdLbcU X-Received: by 2002:a17:906:270f:: with SMTP id z15mr12246348ejc.6.1601235100931; Sun, 27 Sep 2020 12:31:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601235100; cv=none; d=google.com; s=arc-20160816; b=J1Ct/m+Pzivbve00Tw3R/eWPoybFtNldS/L17QUSp3uVQUfPJ2kQt+8JrbXBTGmsSl 0GFS9+7oHkgmGkUo/0zQCeJ84vEiULjcvQG/H3upR2SNfed62WZPv/C+4mdWFrwa0g7z k4z07v62RmvwdbZSC3MRCJur82iZEYBsu8dHvY74DRNaeHzxgQCO8PmSPz4/5eB8fZLx v1PLzka4/5t82RdnD5kW3TRHFQ/JI5xZ+Vr3WLJ5WSwr5sQ0tnEcpkGRCfojTL+uDgb6 wmiP9v7tnjBC7+mcbcdPxAgjMa/ZipLD5o0Y7k7IXIqk+T1Wp1XIzclX+dXmoiviEbWd t8AQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hFD9C0g02b1YD9AU5pxjflPT96QGvB/rE3rUqbHSeaU=; b=bNXlkf6dReMGWg4f9MGzYJaClEDNfw+2JPvnY06lOdzQsfVYqiLMhOQNQ1b3kbpBL2 jv5Qe5ygbdhrHgLGq47oOrjtxMoR2r3INuLYm4m3dogdXwvEj7jlhuhJV5+ZoaDwrK71 2hWhE3QaxidXIcBNnjcBbsF61/KJUPIWz93TXLXwO8Rz+9J9BHkuKhl1sf74l4C2tShh Q66FvCP4FjTaZ1cE+4ibV+W0w13IEci/Hf/eSIMOWmqgHA/ImbvIEvwqQPvs/MKYiAJt 5jMjlU2A4Ju3ToOSPKc+3APoelglm3AVnemcKgRchAAT+aSdMZYaqBqM073uqzGQGUsY KRiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NdxKLIks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx6si6483577edb.437.2020.09.27.12.31.17; Sun, 27 Sep 2020 12:31:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NdxKLIks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726711AbgI0T37 (ORCPT + 99 others); Sun, 27 Sep 2020 15:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726325AbgI0T3l (ORCPT ); Sun, 27 Sep 2020 15:29:41 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9872BC0613D5; Sun, 27 Sep 2020 12:29:41 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id g4so9538043wrs.5; Sun, 27 Sep 2020 12:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hFD9C0g02b1YD9AU5pxjflPT96QGvB/rE3rUqbHSeaU=; b=NdxKLIksYEYWvMIxygmJ/wOgbIokpUYXQ7/7+hNB0bJwQlliFTMJsi+7U8PR+mhGQP iy5VoMPACrRlx1sa6Psyr2JTvGxd7ZB47r4LXI17QtvgX315RzmxdiLz8aL2EnCdzTBb wFbexHzCi9QbrV6d2Kr3RGTsApudPoWR/eAjRYdvIVqGavIYdFe8jdBctGSUCFdBuXoK gMYHF30+idE7QvS/yFF9WogbwiOWCmB8vQVBligf48+Sd0FmFLaXJUa0PfJGnFKh86DW kkVut1zRfkW8VNezqQRGOwq1RS7JF6VjlmhXhHxQZbKgZCo/r5rIBQck1cUSeMELkYWZ fD3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hFD9C0g02b1YD9AU5pxjflPT96QGvB/rE3rUqbHSeaU=; b=Ofk4arOVU8rs46Gs1ChoMu6ZRlWqrlgpq9f/Xl+qoEfdL3/8rR31UmuARfRCu4DT2l 71M70nmiNeiAZkaralhO61W7rU2a9CnMPk1CDv3e4F2yYM1GIdc/9X4SZjlzB8PJoWVO UuL+raj/TJT8U1X7ha0G7F90zVZu7B6STvWofTkK9ziPCD90vhqcao4sETbEB/jtWJcu OQzqhkaB6n6ng78xe6GYtnTobAuvX5XPh9kYEJH5LqzayplnKej5f02mLnBPkWV2fdto q3jnKnzRI6gjCVoaAN0gPfw8QcWwDjXzkmqz7RBGNX1URb4A+shdJACyZQEq8O3t56Ls 1nNQ== X-Gm-Message-State: AOAM531FFVPvPdetE8fzbyDaf6vboQuBxuR8f0JGt7xBgR6X1NlpWgLG svZhXpRTDOhRdHPKaaNP5JU= X-Received: by 2002:a5d:4d49:: with SMTP id a9mr16140367wru.363.1601234980231; Sun, 27 Sep 2020 12:29:40 -0700 (PDT) Received: from clement-Latitude-7490.numericable.fr (213-245-241-245.rev.numericable.fr. [213.245.241.245]) by smtp.gmail.com with ESMTPSA id n21sm6149609wmi.21.2020.09.27.12.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 12:29:39 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Brown , Liam Girdwood Cc: Jaroslav Kysela , Takashi Iwai , Marcus Cooper , Jernej Skrabec , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v5 20/20] ASoC: sun4i-i2s: fix coding-style for callback definition Date: Sun, 27 Sep 2020 21:29:12 +0200 Message-Id: <20200927192912.46323-21-peron.clem@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200927192912.46323-1-peron.clem@gmail.com> References: <20200927192912.46323-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Checkpatch script produces warning: WARNING: function definition argument 'const struct sun4i_i2s *' should also have an identifier name. Let's fix this by adding identifier name to get_bclk_parent_rate() and set_fmt() callback definition. Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index 9cd6cd1cd284..a6fd9bef30d1 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -180,13 +180,13 @@ struct sun4i_i2s_quirks { const struct sun4i_i2s_clk_div *mclk_dividers; unsigned int num_mclk_dividers; - unsigned long (*get_bclk_parent_rate)(const struct sun4i_i2s *); + unsigned long (*get_bclk_parent_rate)(const struct sun4i_i2s *i2s); int (*get_sr)(unsigned int width); int (*get_wss)(unsigned int width); int (*set_chan_cfg)(const struct sun4i_i2s *i2s, unsigned int channels, unsigned int slots, unsigned int slot_width); - int (*set_fmt)(const struct sun4i_i2s *, unsigned int); + int (*set_fmt)(const struct sun4i_i2s *i2s, unsigned int fmt); }; struct sun4i_i2s { -- 2.25.1