From patchwork Tue Apr 20 11:39:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12213875 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 DC911C433B4 for ; Tue, 20 Apr 2021 11:39:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A7277613AB for ; Tue, 20 Apr 2021 11:39:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231978AbhDTLkQ (ORCPT ); Tue, 20 Apr 2021 07:40:16 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:39149 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231994AbhDTLkM (ORCPT ); Tue, 20 Apr 2021 07:40:12 -0400 Received: from mail-ed1-f70.google.com ([209.85.208.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lYojD-0005Wp-Ri for linux-samsung-soc@vger.kernel.org; Tue, 20 Apr 2021 11:39:40 +0000 Received: by mail-ed1-f70.google.com with SMTP id y10-20020a50f1ca0000b0290382d654f75eso12947618edl.1 for ; Tue, 20 Apr 2021 04:39:39 -0700 (PDT) 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=nq4Jf1F7QpCUtSWxlU+CaxhBrA9IV/0TddbI2jzDURU=; b=kr6w3eLGWShhyJTaZfD2afi2438zXRyZpbzAHctgpRtn0wv4KWqzafHXIeNZGQL3NU JTLdk0Bt5SNt/dDF+vr5q1+d7hXMD5+/678Sj/7P6iBHOmOqHZ2B0nziC4gv65ZRphFC cvqk+yAiBhf1bfgItZehEmXdaZU8o9U6UcDqYXPmgkvoYZvTvpGluUPoA0zY1VovPTP7 b5UUO+oi4X/KYXYCY6cSHB5CnY/X/P72TOOtdw35J3PymZYhiifTjri9jkHl18DxCgv5 h33zsUjqyB1hHZwuvRH3Hj6ZhTIRX3mveuPtOswfNLw4uIe0wsaB+yQQKnv76QveCh7A LsJw== X-Gm-Message-State: AOAM530enGUmgaVJKDVkebook0dq99fkdYGc4+Vj+rKgdd9CIsMnHkuf RJB2Kb7dO00LeWwkNr2fOvnE1lde5QNTEAkbuprrhsb41v3PoMc+N/KkO4dHwMJLN/n3L74ooYd qR9zpCafj19AFoMtqs2AouDQSbiQ8BUz7znuHAZoEpDpl6DJK X-Received: by 2002:a17:906:a20c:: with SMTP id r12mr26633991ejy.554.1618918779365; Tue, 20 Apr 2021 04:39:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyj66eOrcvi2YX4tMopSyiC5EDZvHf8zPXH8NgNMphzXRuWMeYLO+VDG3ozJ9NT6dLeU7BnNw== X-Received: by 2002:a17:906:a20c:: with SMTP id r12mr26633982ejy.554.1618918779231; Tue, 20 Apr 2021 04:39:39 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-180-75.adslplus.ch. [188.155.180.75]) by smtp.gmail.com with ESMTPSA id bw26sm10109007ejb.119.2021.04.20.04.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 04:39:38 -0700 (PDT) From: Krzysztof Kozlowski To: Support Opensource , Lee Jones , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Tony Lindgren , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org, patches@opensource.cirrus.com Cc: Marek Szyprowski , Sylwester Nawrocki , Charles Keepax Subject: [PATCH v2 6/7] mfd: wm831x: Correct kerneldoc Date: Tue, 20 Apr 2021 13:39:28 +0200 Message-Id: <20210420113929.278082-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210420113929.278082-1-krzysztof.kozlowski@canonical.com> References: <20210420113929.278082-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Correct kerneldoc function name to fix W=1 warning: drivers/mfd/wm831x-core.c:121: warning: expecting prototype for wm831x_reg_unlock(). Prototype was for wm831x_reg_lock() instead Signed-off-by: Krzysztof Kozlowski Acked-by: Charles Keepax --- Changes since v1: 1. Add Ack --- drivers/mfd/wm831x-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm831x-core.c b/drivers/mfd/wm831x-core.c index bcef08f58fb3..c31809b17547 100644 --- a/drivers/mfd/wm831x-core.c +++ b/drivers/mfd/wm831x-core.c @@ -109,7 +109,7 @@ static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) } /** - * wm831x_reg_unlock: Unlock user keyed registers + * wm831x_reg_lock: Unlock user keyed registers * * The WM831x has a user key preventing writes to particularly * critical registers. This function locks those registers,