From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1882BC55178 for ; Fri, 30 Oct 2020 14:47:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ABDE420727 for ; Fri, 30 Oct 2020 14:47:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OZyMXC1e" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726982AbgJ3Orb (ORCPT ); Fri, 30 Oct 2020 10:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbgJ3OrY (ORCPT ); Fri, 30 Oct 2020 10:47:24 -0400 Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1FF4C0613D2; Fri, 30 Oct 2020 07:47:23 -0700 (PDT) Received: by mail-oi1-x241.google.com with SMTP id 9so6883499oir.5; Fri, 30 Oct 2020 07:47:23 -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=A4cYQuVx6gToZbO7mEsQDDx46mIAsBCsMKfd9g+RrIE=; b=OZyMXC1ef5lE3Xj7EkCUy6rsYPbkXx5xYWfAEIIo5YWaZAjyY0ty+oL5VPwh+frYps bzoeey07n25DE9sLmK504tbhohR3dQ8NeDAEgqizrIBpVrk+oCyzQj23E1jwWtBGSFrB 96KJbb6Lf33uIZz0UUcgn0SXcTCD35x4ztoIxmHOPxya7IdwaqIcLi57zhwJ+dKo+mbU q8FiHpds5Uc7osGJ7DmnZFjhhryHJjvP/vzC2EycnbcCbBYRA9PgNrdnUCpqu+WK3KfF 2WItQzButAY+kednd5Ps2Ac5lplYO8BG9NSzvdxVTchu/t4ch/SBc69DvQThQC8Kdtmr TRZA== 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=A4cYQuVx6gToZbO7mEsQDDx46mIAsBCsMKfd9g+RrIE=; b=ugDnMeqDdC3rAjCJsa0VY5ZQJ7Y7U21oIZu6NzEPYjq9Lk1zkb+IQ1eN273/YtYfFL U3qZKExLPYqJziJamMzQpIuDXU2cn5KCfOlkdZXh1ZW0i8V71vhhJ7TZohXanBloCpRE PVS+V/CJWrrBdYfxb+4a4NNz1rQDKtkjw33dxNzZPMvKKzBwht5x6AgGxow/T9irwTZX 6GpXftiCUKEeaYYF3+dDNWx1rVeNi15QQG4hW/zdNJbsZk0q+mq6RAMFkX0nPo6cmh3w frEw6Jt6bLgB4PfeNICOSXUgSNtA5vU7PWbqTNlhwc31uyrF4+jhGH5OJ05t5zatIqAR kU5g== X-Gm-Message-State: AOAM531DnwQVIbWdb1oYmCRx1RBXb2nCSxNuRyUlJMaJiYBQrAh+zzgE UdpICWJYDmYmmYxfXX+Frmk= X-Google-Smtp-Source: ABdhPJzrOWnh3LX5MzGR+X7zGa6JPDHD+fQTH83s8TF39Z3LXslaoMt/hLpsPrl7NryxcUkW3CpMOQ== X-Received: by 2002:a05:6808:915:: with SMTP id w21mr1236071oih.124.1604069243013; Fri, 30 Oct 2020 07:47:23 -0700 (PDT) Received: from localhost.localdomain (213-245-241-245.rev.numericable.fr. [213.245.241.245]) by smtp.gmail.com with ESMTPSA id s20sm1462856oof.39.2020.10.30.07.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 07:47:22 -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 v10 09/15] ASoC: sun4i-i2s: fix coding-style for callback definition Date: Fri, 30 Oct 2020 15:46:42 +0100 Message-Id: <20201030144648.397824-10-peron.clem@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201030144648.397824-1-peron.clem@gmail.com> References: <20201030144648.397824-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. Acked-by: Maxime Ripard 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 4f5cd850752d..4b8ca5be0a29 100644 --- a/sound/soc/sunxi/sun4i-i2s.c +++ b/sound/soc/sunxi/sun4i-i2s.c @@ -180,7 +180,7 @@ 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); @@ -192,7 +192,7 @@ struct sun4i_i2s_quirks { 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