Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6863193ybc; Thu, 28 Nov 2019 06:47:02 -0800 (PST) X-Google-Smtp-Source: APXvYqy9RuULGTc8BPLYJIN3KgqRht0jR75g8b0JQt9R7bIz9OLuyQXKQq5WWY94JfjqbGdPkwSd X-Received: by 2002:a50:99cc:: with SMTP id n12mr7473001edb.66.1574952422321; Thu, 28 Nov 2019 06:47:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574952422; cv=none; d=google.com; s=arc-20160816; b=k63FjqXFQYGwJpZofMWGNQXdEeqr4ko5UmNTwC0BHtGg3Kuc2ZEMdgxbWEdceCmuRI 4A03Qo7fJgW6wr101qYBeXTCIHdCO79WTkjp19cp6b51bMmIoyU0zF6ZixH67vq+2Lyf NguuepvNA7nKSfkApS0VvflSpHJZTh0hy6coqqMxeiCQ5A+8sGt2i0Y0EamqH4bNKkw3 GTS1jufoYnP5kdHZVIwjZygmLup/RrWD2iKYxsq4IzbpZDf5PNh/RdwQqzUFvN3hzieX QblJ097KpGhfdqVsWZvhZeCO2o70/xA2xqRVPjLJaozcZ4ABFXI/qL9NXTIJUmP2kVIJ OViA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=iPHzRsvv1I5j+pNBWWTRLJmwEdwOZUQYopc1srmKUIU=; b=AquQX16Ba+n/RG/GhfhRQo5Mmi69c5RdQBZYetDfokS3KZN9uhDHqt72vwj1s+JxVh xDjL/pokgA3IEQrNY8BV2Gw5zsgonp/sCw3hwt32ux+peg8coCRMDm8+rWuGqhzR3/Yq mSxREWlA9++Ibba16n0Kc0ZNfP8Zd2jpnu5BBpiegGR9D3hO2KUVFYYudYeFHOP1AfBA ZSAfLijKGEixiV4emYUBqdqZza+JSk5pZ3VjaPV1eFRgQ0hRN2j8fysZBK02nFHjj20A oZXiA4vSFKBJQqd/NGM2Wbte7vD/JEYaIsxua4uvc4mrTAzQxBUD0d1tGE81Cj9+dfW7 p3Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si12465036edq.31.2019.11.28.06.46.37; Thu, 28 Nov 2019 06:47:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbfK1Opa (ORCPT + 99 others); Thu, 28 Nov 2019 09:45:30 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:49515 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726723AbfK1OpW (ORCPT ); Thu, 28 Nov 2019 09:45:22 -0500 Received: from orion.localdomain ([95.117.37.214]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MXHBo-1iJE7H3s34-00Ygma; Thu, 28 Nov 2019 15:45:18 +0100 From: "Enrico Weigelt, metux IT consult" To: linux-kernel@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 7/7] drivers: clk: unexport clk_hw_register_gpio_mux() Date: Thu, 28 Nov 2019 15:44:50 +0100 Message-Id: <20191128144450.24094-7-info@metux.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191128144450.24094-1-info@metux.net> References: <20191128144450.24094-1-info@metux.net> X-Provags-ID: V03:K1:GpHErHNI82WASHVkE8THZ9nr+ptmF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W2SqH 5dNIraNoiLFqQ1aMv0023CfgjS1wqqMrtKYYOz4uNDPmgRtBif8XsK8guv1V891qeBFehc7os dYZstFxgOIxskzQqY3zw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function clk_hw_register_gpio_mux() doesn't seem to have any users outside clk-gpio.c, thus unexport and make it static. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/clk/clk-gpio.c | 3 +-- include/linux/clk-provider.h | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c index a7e75a038728..70381bf75d02 100644 --- a/drivers/clk/clk-gpio.c +++ b/drivers/clk/clk-gpio.c @@ -204,7 +204,7 @@ static struct clk *clk_register_gpio_gate(struct device *dev, const char *name, * @gpiod: gpio descriptor to gate this clock * @flags: clock flags */ -struct clk_hw *clk_hw_register_gpio_mux(struct device *dev, const char *name, +static struct clk_hw *clk_hw_register_gpio_mux(struct device *dev, const char *name, const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, unsigned long flags) { @@ -216,7 +216,6 @@ struct clk_hw *clk_hw_register_gpio_mux(struct device *dev, const char *name, return clk_register_gpio(dev, name, parent_names, num_parents, gpiod, flags, &clk_gpio_mux_ops); } -EXPORT_SYMBOL_GPL(clk_hw_register_gpio_mux); static struct clk *clk_register_gpio_mux(struct device *dev, const char *name, const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 59a7f273a182..961c1048a9ca 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -772,9 +772,6 @@ struct clk_gpio { #define to_clk_gpio(_hw) container_of(_hw, struct clk_gpio, hw) -struct clk_hw *clk_hw_register_gpio_mux(struct device *dev, const char *name, - const char * const *parent_names, u8 num_parents, struct gpio_desc *gpiod, - unsigned long flags); void clk_hw_unregister_gpio_mux(struct clk_hw *hw); struct clk *clk_register(struct device *dev, struct clk_hw *hw); -- 2.11.0