From patchwork Tue Aug 30 03:31:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 12958664 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 A735EECAAD1 for ; Tue, 30 Aug 2022 03:30:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbiH3DaX (ORCPT ); Mon, 29 Aug 2022 23:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbiH3DaR (ORCPT ); Mon, 29 Aug 2022 23:30:17 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10069.outbound.protection.outlook.com [40.107.1.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4734B497; Mon, 29 Aug 2022 20:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ABIsU7IkezeM6dqHDsXT/Uu3oUTvqWE6TGzqUdPY8TNw/BsDoAqYT9rYnhTK6tf98qH8PhFmQwu8+p8RkmvknS/hf8PIMVvS8FavM5xeFWvrhrsK7ANb6TQUCpr+7+Km6TkEr8qsWcBZAWonrIq9EvX4jrOBZHefV1cIpzI8X03ozhOV+JWpYQkoR2HMlVbMQEmEe5uDFtCX3k4a/WW7yso3bCHIsqaH9WpzhlBhP5oS2yZnufkr9dg33wUWnRdBU7tT/Wp3U/xYj0BBzES6JNjR/weY2cdxzFI/RerYAsQ6dgHdTX5yPUTU14MWqbVo1qERWZtzlZKUNKmSJkl/HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VKug0aZ88tf/ZdTDEVVducmS5ImD74RJ6gH6+bYqRmQ=; b=ARHwF1XrXuyGh/4rg1YFZH/75JPtPNm90xsw5m351MNqqndyRg7bVfeSWtX9j/RKya3SrYpVj47CzdeU6WECp1SUF0QCbvXGtUD/jMvPEPnMiCh0pgRSZTwcf02QNOsraXbEM06cAO2qzdpcQ9a7t0CCCKCxExRcO5t5EQpCfWAfSEYt/1uEaki5405MhOTRy4bUw1IC1Ai8BOWzbd2lOP4896PHpEWnXQiyX8cHJtO4DqH8jarS+tblGR2lszwHaUAtLYGLeNRn4sjyimN+Jh+4QZ3qn3aBVNHcrX5Tlg04A2H61ScXQUgkwbuEWzb/aaseR81TSQrxBAVjo5Om0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VKug0aZ88tf/ZdTDEVVducmS5ImD74RJ6gH6+bYqRmQ=; b=hEnPRelNs76YgoNh0aGwZl1e+ab2TuESNjCcnJkcv7ksbmi5PGAAi0IEfggYvQxGpNhfm5Lb4U2cJZMRUfhseqNtMTUfD7mQCanw0SsbkKArHD+lEMT3rn+uEHNt3Q/spPyOrp4dX5YHJDX6GVyT/n6S/GUliMfv20gQXJLewuI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AS1PR04MB9359.eurprd04.prod.outlook.com (2603:10a6:20b:4db::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Tue, 30 Aug 2022 03:30:12 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2d22:3315:6f9b:82c7]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2d22:3315:6f9b:82c7%6]) with mapi id 15.20.5566.021; Tue, 30 Aug 2022 03:30:12 +0000 From: "Peng Fan (OSS)" To: abelvesa@kernel.org, abel.vesa@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , kernel test robot Subject: [PATCH V3 2/8] clk: imx93: drop of_match_ptr Date: Tue, 30 Aug 2022 11:31:31 +0800 Message-Id: <20220830033137.4149542-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220830033137.4149542-1-peng.fan@oss.nxp.com> References: <20220830033137.4149542-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGXP274CA0022.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::34) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a599abd2-32fd-43ee-3492-08da8a37f249 X-MS-TrafficTypeDiagnostic: AS1PR04MB9359:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /nAj2JkIUupZ30bFI35IrqJDp6H4nSOp0++sPTHiB1DuIOLV/aEtoDJgYIUpGF3q3crA04cdixwi3+9mWWuoE25XvqdI7wVJdl3yaiJtOmc5kcnf8h/m8Y58w1WAub0W+gRYIxo6pF5lGSIX/S9vFeZiAbdpKvLu1gsxDitkzlGLcq9/MWr5B7gHnmVRVuBMc/CJ+QL1+ARr1mAQmag+q6q8kzVSKoAW1bOHCHJpWY2ieUJUn5eso+gMkeD04Oy9UroY8EUpXUdgqHDBluySwyO+ik5OWfWcPoJMvlibsWVu3l7wm/bH6Kvzkg9mW+rWng32y36BI8LmVTrAbmGBfjhS67KTPFzRzxJtceESkucXG7GcANg5DYF9SbpbMRKes5/r97PzyxvNKtGAJcUUu0XmMzK+MOIzfSZGPSvpTCet8i4NE114TTEb+2lah8TXREEOci/jRmPTnEplTsdIQZ5ytgrQIVeHeIffcvAxvsAj0sy1Zt5tm1IwW2qWYBnUE31rQgCv87+EcisM9R2wtDoA4Jc7a0U0F1WeafT+4dhA8ZDklkeWfE/itM9nKMAOq/RabUTvh/ZWlwNMwqBHW1kcwMCq9bWKqoH3mncSIzIx2Q6gAzv6sQCQNASLD341x25S41Dryguovl39HaoWxhEs8RraNBB18J/0RvsBtPIkUIjjOS4LsmsQuut/K9JQKTbPxUsmLHR49VOKM04MZ5/h6FJzFWON2AfZxV24dxIDo6tonBKvZFVwiEruS3ePR9nh6UK+hB30scHsdgZH3w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(8676002)(4326008)(66946007)(66556008)(38350700002)(38100700002)(86362001)(83380400001)(186003)(41300700001)(1076003)(7416002)(478600001)(6506007)(26005)(6666004)(6512007)(66476007)(2616005)(2906002)(54906003)(316002)(52116002)(5660300002)(6486002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-Ch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H9cdmRFmUrQ/jg1sVnwe3VCKJfKWrsdoNbQNQi8JNfr1IkBkok9Ac/AQqAEIA5t8BONoZ5oQaBE2m95d1SwKuzOlV6OjB9efJKXU15xY5Vjzsie6Pd22UMdR1h7gWbD8D6E+MH3l4CubWqMFPam/geIrGw3V//o0rejijAWD0OncM7xPaHf6cImgX8M//o+J8ZWsd6By0koK/KvWfqGkh+XnFw3Z93SMdtSh2Ff3TQJEezAEUIo2EVC53CE8Veeg+CAEa9j4ITtE7CFJtu7y3RkW4IlNgD3mizq4z7KkSPwj+LukAEk0XoGrkRbYfni250JTUHeLqdnYNjyCa40sytTRxeGGXx9CbyYglYJZtlDwJWpVWRncsqHq0Zuwr8DfZELFBGirSdvnaNj0StHoFDi0wg0c/ewsRqOOi7ko0xNRATflt35OXSSTgHdvvn4WTIcxS7Aa2wjr+Yf/PoqpofS3o40mqHYDmzkcSTqH94QHUJo/oAgyDZGmTmb7jYWegcLVZE6cOy9xASr7cdHaFYBoRNNyPwIJJf3h5SuqscS X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a599abd2-32fd-43ee-3492-08da8a37f249 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2022 03:30:12.2501 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kDR/fC8zNtc+yeYhdw2+FF4Q9vdHyD6ciBKNSzr2wRwesQmUILHXcXtIarpzPqxQrJ5UoElT2oMVDd6SGiDveg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9359 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Peng Fan There is build warning when CONFIG_OF is not selected. >> drivers/clk/imx/clk-imx93.c:324:34: warning: 'imx93_clk_of_match' >> defined but not used [-Wunused-const-variable=] 324 | static const struct of_device_id imx93_clk_of_match[] = { | ^~~~~~~~~~~~~~~~~~ The driver only support DT table, no sense to use of_match_ptr. Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk") Reported-by: kernel test robot Signed-off-by: Peng Fan Reviewed-by: Abel Vesa --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index f5c9fa40491c..dcc41d178238 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -332,7 +332,7 @@ static struct platform_driver imx93_clk_driver = { .driver = { .name = "imx93-ccm", .suppress_bind_attrs = true, - .of_match_table = of_match_ptr(imx93_clk_of_match), + .of_match_table = imx93_clk_of_match, }, }; module_platform_driver(imx93_clk_driver);