Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2023502rwb; Sun, 18 Sep 2022 20:24:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZTSqapubE5duUUvVDscjovznpRPnzE1XJDCLxDGV859JmvxsyJIiEsY9w6/lvu4CJH2HB X-Received: by 2002:a17:907:a40f:b0:77b:b3c7:28b6 with SMTP id sg15-20020a170907a40f00b0077bb3c728b6mr11377038ejc.637.1663557880084; Sun, 18 Sep 2022 20:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663557880; cv=none; d=google.com; s=arc-20160816; b=Y2IPeMWlG0uJt2mOePsqDMJpxRqpZFTID6pHXw2PhfsKEYiCuC0jdzuugTxZomZn3M KI1PRcV0hrUV0IRwINRe+NFc8v/aMvQiCw0FCJGgkUtW5vW+GGz8F7uHq7HTDccKRMdf 69LfJkIWy05IK6oL0hIlJ76IYJFHwN+FCjIFLzf+5xYKKLufBiM4vHifafE1cMX0hBZP oVguAw6ItXdSEYThFbMSQF0bTZpVwpM9nJKEzOyj9Um+U7q/lnT5x7MC6yTCLomoGi3Z lYWaJus8/N2Chxh43IlFHjBt8cpFLs84yl0x2davQLjm4PneT22NaxrOLc7fW3v+taZI Bc3A== 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=LAKrGZEf6mJ4qIon9bDJjWhRr8ix2eBufj5qGtdkJWk=; b=VJmQa8tFz9AOTkQC4lt3GIBQ9w2irejcYdHsb+qL+btfZV+K2NyFkj7HG79Yyut25V kclWas2J+XwIGRfUy1IS20lJI/DAfBGpa8tPjlg1yUbU6hpBpENqVG6bhXYbVUl/6g0O dlJ5R1XITNk5mM57Px207SH8ukOz7hLn6GAJS9UR+6v1gV90gPte0Wtp8/hlNsT4aQ1i i0MNyIAD+Z4IH+4Kmi+xCmx7z6MGYUQUXa+T1cyfnGCTGwYJvZbwSHdZtoAXbcp8ud6I kc3PZvnPdCsloRrUqqpVAaJldDUa5ZYLYn3pMH8XGdc8wmRVr2mYiZ9JTyIzTPDnzog3 lj7Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a170906538900b007419cc73107si20458676ejo.757.2022.09.18.20.24.15; Sun, 18 Sep 2022 20:24:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229747AbiISDEr (ORCPT + 99 others); Sun, 18 Sep 2022 23:04:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbiISDEp (ORCPT ); Sun, 18 Sep 2022 23:04:45 -0400 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF808B87 for ; Sun, 18 Sep 2022 20:04:41 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0VQ4furg_1663556672; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VQ4furg_1663556672) by smtp.aliyun-inc.com; Mon, 19 Sep 2022 11:04:39 +0800 From: Jiapeng Chong To: sboyd@kernel.org Cc: linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] spmi: Fix kernel-doc Date: Mon, 19 Sep 2022 11:04:29 +0800 Message-Id: <20220919030429.2303-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 drivers/spmi/spmi.c:414: warning: expecting prototype for spmi_controller_alloc(). Prototype was for spmi_device_alloc() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2207 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/spmi/spmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spmi/spmi.c b/drivers/spmi/spmi.c index a456ce5141e1..9c07a4ca5d50 100644 --- a/drivers/spmi/spmi.c +++ b/drivers/spmi/spmi.c @@ -404,7 +404,7 @@ struct spmi_device *spmi_device_from_of(struct device_node *np) EXPORT_SYMBOL_GPL(spmi_device_from_of); /** - * spmi_controller_alloc() - Allocate a new SPMI device + * spmi_device_alloc() - Allocate a new SPMI device * @ctrl: associated controller * * Caller is responsible for either calling spmi_device_add() to add the -- 2.20.1.7.g153144c