From patchwork Thu May 20 12:08:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12269959 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=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 6A376C433ED for ; Thu, 20 May 2021 12:10:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0C056105A for ; Thu, 20 May 2021 12:10:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0C056105A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Qmx4xnjRR0s/UcraHM2v3yBRZuD3ssh7yY4zy0We6UA=; b=jdstIk+iPwZy5V75Ey06bj7Lli XNKXZkLtomQ/MJ4paU1mDXjTLkqFuywvt4AefKWxRYWFrsveN1ZS2GvNf7oSknOigVz7TQqkYNvnB 7j+tCDvvLxtW8MKMkJ59xOubX+63XXJRb/GIGtdVxf4kMFU1ufoFSzt/yf1XQVSYo/OFVXYIGqIxu ZV9Sk5RlT8O4qinylU+FHubaluJWPdaNnsS3CiFCI1ugZRGH42DqULiULzP4xpzIflXw2LQ8vw8yn EnP+08fI47iSm5bF6hjXozEwJRSznyf6d2zbyJkCMrW2OOWzorN/NCr6ScnyxhNY2RwbWksDWppvC oelqGCQg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljhTe-000jV0-27; Thu, 20 May 2021 12:08:35 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljhTZ-000jTx-Sf for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 12:08:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=DgRRldcE7qaeMwAh8NBDFamTUC06uAzZdQeyjsVPpJU=; b=f74Q3VdUDPndW8/f3N52ehJVAs qsmsWfRxY4US1ewhspSqBJTQoy5erT5d1WorQhwjKdkI5PudxDncNtKtaNq4UMLpltweeBAbBcjf4 W9eMWK2inoDm+mGQlEgIe5ueXu/o4qZ2aNgylodO+K8ibv8CI1fflGeRGdDoGMSCaas4aC+/YMedj LaMlTYtWliCyaAi9h+Jb5eT5vSQoVqrDFJ7EDiIpdFCwIjjVjgE0nNoppAmvnl05iF3Y10StcluwZ xLreXFaUmD3qCjrdpdpKAH5iXxfmoDVCy6WVBH/gKDSZGgpZg4kzgiHqbaLaEeJomFsAe9JIX9TI6 e/AacT6g==; Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljhTX-00GIcy-6i for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 12:08:28 +0000 Received: by mail-wm1-x331.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso5265126wmh.4 for ; Thu, 20 May 2021 05:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DgRRldcE7qaeMwAh8NBDFamTUC06uAzZdQeyjsVPpJU=; b=eV7WWPIUc/f1mqsNiqq5oHzgq8fHiz6DyHTEDMRV8ydc+6Tx3ddB4d9NDmHejHmMJ2 jh/X5XPhzOcCfqrtivhXVdvuv5VJZAj6EVxhXjepolp446r5GdCSefcWwwWxH1t+nub4 uf3lvqc6aclnGz/hjpnP3cw+PyFZZJoDVsMl7v8Y+M2DwUKgpG6Q+jJnhJYDH1iu91RQ vL2n70vHw7dpk+OLcSozuW9DMvwmXypWxGQXR6ef767/8H7tkc2QusP45Kb5o/tGTv50 OIALZAy8ImtMCUANHbDUOzPiej8WBV0d9MCz4jmN/m7JLbV5C5CiMYiNe7/xK7UGgeL2 0jWg== 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=DgRRldcE7qaeMwAh8NBDFamTUC06uAzZdQeyjsVPpJU=; b=B+iJf9SrSxN3NLhOXsAidDby8fBOJ+Obf4uBfkbCLbMOU0VzBl9eYpqjwwkB9dmJgw wUg6I0vTcqjj64QtZG0e9dXQrbD1lqno+LVs5pJGuAEmbKNMA4pP67zPk2546dfBkwwc QHky/37bNnB9Cz4GZYqm/9+Ujmg4/dvjSLz2ROsejvhIGKjvEoFuqel+wxwTserG9Sdz 8AkkD7qU11xk4NBS7QiJgedogzOUwYEGH7gtLEuvgt+xhtENIpUeBfwKvXNA8Wxu3CSe jLlmbVlupKcmtH0sw9yxGjKWUjOHJ/ChxAk6rlB6RFWu8Qt18J9iM5feBc8CfOeiGfvW JqJg== X-Gm-Message-State: AOAM531YzoT63N2teTbO0iqCVgQ1a7Eu8kbGXUPX4NByl8cjbSjyY/o/ e32+peNMlCpbmZCE1ur2MxBdHw== X-Google-Smtp-Source: ABdhPJzVTcGlKIz05U1xhSYtTKhqFrwb0Q4gvN2HOCEEo5HBFK0f/LLxrG51Q23O9+Q5hpER2vO5Jw== X-Received: by 2002:a05:600c:22cf:: with SMTP id 15mr3125361wmg.81.1621512505917; Thu, 20 May 2021 05:08:25 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id r7sm2237170wmq.18.2021.05.20.05.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:08:25 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Linus Walleij , Kumar Sanghvi , Sundar Iyer , Mattias Nilsson , linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/7] mfd: db8500-prcmu: Fix multiple incorrectly documented function names Date: Thu, 20 May 2021 13:08:16 +0100 Message-Id: <20210520120820.3465562-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520120820.3465562-1-lee.jones@linaro.org> References: <20210520120820.3465562-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_050827_268390_3BEE7C82 X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/mfd/db8500-prcmu.c:624: warning: expecting prototype for prcmu_get_current_mode(). Prototype was for prcmu_get_xp70_current_state() instead drivers/mfd/db8500-prcmu.c:908: warning: expecting prototype for db8500_set_ape_opp(). Prototype was for db8500_prcmu_set_ape_opp() instead drivers/mfd/db8500-prcmu.c:2303: warning: expecting prototype for db8500_prcmu_reset_modem(). Prototype was for db8500_prcmu_modem_reset() instead Cc: Linus Walleij Cc: Lee Jones Cc: Kumar Sanghvi Cc: Sundar Iyer Cc: Mattias Nilsson Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mfd/db8500-prcmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 167faac9b75bf..3bde7fda755f1 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -616,7 +616,7 @@ enum romcode_read prcmu_get_rc_p2a(void) } /** - * prcmu_get_current_mode - Return the current XP70 power mode + * prcmu_get_xp70_current_state - Return the current XP70 power mode * Returns: Returns the current AP(ARM) power mode: init, * apBoot, apExecute, apDeepSleep, apSleep, apIdle, apReset */ @@ -898,7 +898,7 @@ static void request_even_slower_clocks(bool enable) } /** - * db8500_set_ape_opp - set the appropriate APE OPP + * db8500_prcmu_set_ape_opp - set the appropriate APE OPP * @opp: The new APE operating point to which transition is to be made * Returns: 0 on success, non-zero on failure * @@ -2297,7 +2297,7 @@ u16 db8500_prcmu_get_reset_code(void) } /** - * db8500_prcmu_reset_modem - ask the PRCMU to reset modem + * db8500_prcmu_modem_reset - ask the PRCMU to reset modem */ void db8500_prcmu_modem_reset(void) {