From patchwork Thu Apr 25 09:14:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 13642995 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6D1E2C4345F for ; Thu, 25 Apr 2024 09:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version: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:In-Reply-To: List-Owner; bh=Bxtm2/nbE9mePrWp96517gOHho0b5Z5YhBeXb9nHr+g=; b=H/zRS/jp8xt3T4 f3cPF7edE4rYWsZHaKdLaVDxYgeIrqAwjBJsMmyNweZ6/DSLSrXwrOKOly6yflw/easZOpl0aJQ3w dxpg7HHZq1S7ebZ4/3j3d2MyK4QTgFGSyp2Pw1ZX3FhmByP4P34PUQDIrBExJGfr6NEZr6NTx8II2 CTlj7asGSD0GsYDUkZIs1zQbQPpdxUjLvTLRjUzl1uVZ21skOPqkDva+gD9kYIuLg3WKvY+TydlJ+ EvIOWYc2FDP50ESV6uAI8ykMjbDY+fkkCOiyDPsC1+5GF9nA/lJWKzBK0smpyVt31lcTmuhwiI39X isdD/L1uBBZEFTGXXkcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzvBt-00000007Ys9-3F2J; Thu, 25 Apr 2024 09:14:53 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzvBq-00000007Yqi-0kFh for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 09:14:53 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240425091438euoutp01b018580c46646514ba8c8f6cb57ffae7~Jexig69ix1097310973euoutp01B for ; Thu, 25 Apr 2024 09:14:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240425091438euoutp01b018580c46646514ba8c8f6cb57ffae7~Jexig69ix1097310973euoutp01B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1714036478; bh=dSWT3UoAS4/Wua/vPCBjIpcZyy6kk8OB5F6XDkzxgSs=; h=From:To:Cc:Subject:Date:References:From; b=t6lQ1RBJwKRbtBhYmc0j91u7IRrwYYXVpl1ygA5LMImBZVOjVv2ozIWKawqRu/3LP PxVVrPDa8YGBZISbryHTvMfszeR5J4Ksp+1E1twblUjRgdNu/ryNqIwizW4JXMabrv xy2H1ssi2IxGPqVKu/ShxU4ojIHal3bzVhcg6uXY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240425091435eucas1p122dd19cfa3f70aae62e49b90a0edc750~JexfNkPJ82719127191eucas1p15; Thu, 25 Apr 2024 09:14:35 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id AC.65.09875.BFE1A266; Thu, 25 Apr 2024 10:14:35 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240425091434eucas1p11ec105de15d448c0fb14812705e4eac7~Jexe1sYPD1615316153eucas1p1k; Thu, 25 Apr 2024 09:14:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240425091434eusmtrp279db1e4891851ee4e5bea0cc6e9748f1~Jexe0ytJP3026630266eusmtrp2Q; Thu, 25 Apr 2024 09:14:34 +0000 (GMT) X-AuditID: cbfec7f4-131ff70000002693-83-662a1efb097d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 23.7C.08810.AFE1A266; Thu, 25 Apr 2024 10:14:34 +0100 (BST) Received: from AMDC4653.digital.local (unknown [106.120.51.32]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240425091434eusmtip2607a76f557028c26b41ceeb94f5a7b06~JexeFkxdx1286512865eusmtip2J; Thu, 25 Apr 2024 09:14:34 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Rob Herring , David Lechner , Bjorn Andersson , Dmitry Baryshkov Subject: [PATCH] clk: samsung: exynos-clkout: Remove misleading of_match_table/MODULE_DEVICE_TABLE Date: Thu, 25 Apr 2024 11:14:29 +0200 Message-Id: <20240425091429.948467-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFKsWRmVeSWpSXmKPExsWy7djPc7q/5bTSDOZuFbB4MG8bm8W2DhuL 61+es1osahCzmHj+J5vF+fMb2C02Pb7GavGx5x6rxYzz+5gs1h65y25x8ZSrxf89O9gtDr9p Z7X4d20jiwOfx/sbrewem1Z1snl86j/J6nHn2h42j81L6j36tqxi9Pi8SS6APYrLJiU1J7Ms tUjfLoEr4/S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ZSrxf89O9gtDr9p Z7X4d20jiwOfx/sbrewem1Z1snl86j/J6nHn2h42j81L6j36tqxi9Pi8SS6APUrPpii/tCRV ISO/uMRWKdrQwkjP0NJCz8jEUs/Q2DzWyshUSd/OJiU1J7MstUjfLkEv4/SdI6wFzzkrjp86 zNjAuIiji5GDQ0LAROJAq24XIxeHkMBSRok/K18xdzFyAsVlJE5Oa2CFsIUl/lzrYgOxhQQ+ MUoc6HICsdkEDCW63kLERQSyJOZNuMMEMohZ4DyzxI2G7YwgCWGBJImvK76ygNgsAqoS37ds AmvgFbCTuPFtEiPEAnmJ/QfPMkPEBSVOznwCVs8MFG/eOpt5AiPfLCSpWUhSCxiZVjGKpJYW 56bnFhvqFSfmFpfmpesl5+duYgRGzbZjPzfvYJz36qPeIUYmDsZDjBIczEoivDc/aqQJ8aYk VlalFuXHF5XmpBYfYjQFum8is5Rocj4wbvNK4g3NDEwNTcwsDUwtzYyVxHk9CzoShQTSE0tS s1NTC1KLYPqYODilGpgYW+K0lBYpq1ukvrrD8rJieaqSKbPcg6l8s3c2rd7UNrk9aTnHiUR7 a+E/jJsZv4bY/jM76WTT3RSjLjxlE+vUpDBeSeU66/U1U3kfik4/F2QsVvFm8jvPzaHr+3ax mmW9DBJVPqf25n64ohifoHdE/OLqTXU3zN0YYySV1qlfD1sQt+50GHPwnC1MoZXyswt/ZtzY OikzO+dWuNCL60EXKrfsKEg6zCujvcArQnpzUOLmY2mHJt2fd6XB/fIf/4usV/9F303uiVsf 3KO41PrvRtV9D7YufOP9dsniB36FlhneW+fcVou2DfK+r/XxTSDn/GmSt3xqOQXCFm54uqtJ YEK7oLZH/razjGLT5ZRYijMSDbWYi4oTAVKuuH8jAwAA X-CMS-MailID: 20240425091434eucas1p11ec105de15d448c0fb14812705e4eac7 X-Msg-Generator: CA X-RootMTR: 20240425091434eucas1p11ec105de15d448c0fb14812705e4eac7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240425091434eucas1p11ec105de15d448c0fb14812705e4eac7 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_021450_836126_22088BFA X-CRM114-Status: GOOD ( 14.42 ) 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 Since commit 9484f2cb8332 ("clk: samsung: exynos-clkout: convert to module driver") this driver is instantiated as MFD-cell (matched by platform device name) not as a real platform device created by OF code. Remove then of_match_table and related MODULE_DEVICE_TABLE to avoid further confusion. Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk-exynos-clkout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c index 503c6f5b20d5..0c7f4e2aa366 100644 --- a/drivers/clk/samsung/clk-exynos-clkout.c +++ b/drivers/clk/samsung/clk-exynos-clkout.c @@ -75,7 +75,6 @@ static const struct of_device_id exynos_clkout_ids[] = { .data = &exynos_clkout_exynos5, }, { } }; -MODULE_DEVICE_TABLE(of, exynos_clkout_ids); /* * Device will be instantiated as child of PMU device without its own @@ -237,7 +236,6 @@ static SIMPLE_DEV_PM_OPS(exynos_clkout_pm_ops, exynos_clkout_suspend, static struct platform_driver exynos_clkout_driver = { .driver = { .name = "exynos-clkout", - .of_match_table = exynos_clkout_ids, .pm = &exynos_clkout_pm_ops, }, .probe = exynos_clkout_probe,