From nobody Thu Sep 11 17:19:37 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62D75C00528 for ; Mon, 7 Aug 2023 01:51:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjHGBvK (ORCPT ); Sun, 6 Aug 2023 21:51:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjHGBvJ (ORCPT ); Sun, 6 Aug 2023 21:51:09 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23AF4170B for ; Sun, 6 Aug 2023 18:51:08 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RJzlp14dNz1KCKJ; Mon, 7 Aug 2023 09:49:58 +0800 (CST) Received: from huawei.com (10.67.175.31) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 7 Aug 2023 09:51:06 +0800 From: GUO Zihua To: , CC: Subject: [PATCH -next v2] regulator: Make clkin_name and xin_name static Date: Mon, 7 Aug 2023 09:50:27 +0800 Message-ID: <20230807015027.21085-1-guozihua@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.67.175.31] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500024.china.huawei.com (7.185.36.203) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" clkin_name and xin_name is not referred elsewhere, so make them static. Signed-off-by: GUO Zihua --- v2: Re-formatted patch and tested on the most current master. --- drivers/regulator/raa215300.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/raa215300.c b/drivers/regulator/raa215300.c index 24a1c89f5dbc..d21c6c207226 100644 --- a/drivers/regulator/raa215300.c +++ b/drivers/regulator/raa215300.c @@ -38,8 +38,8 @@ #define RAA215300_REG_BLOCK_EN_RTC_EN BIT(6) #define RAA215300_RTC_DEFAULT_ADDR 0x6f =20 -const char *clkin_name =3D "clkin"; -const char *xin_name =3D "xin"; +static const char *clkin_name =3D "clkin"; +static const char *xin_name =3D "xin"; static struct clk *clk; =20 static const struct regmap_config raa215300_regmap_config =3D { --=20 2.17.1