From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED844C10F03 for ; Fri, 22 Mar 2019 15:37:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD38A20850 for ; Fri, 22 Mar 2019 15:37:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ND1CWGBg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727535AbfCVPhJ (ORCPT ); Fri, 22 Mar 2019 11:37:09 -0400 Received: from mail-eopbgr60067.outbound.protection.outlook.com ([40.107.6.67]:48507 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726022AbfCVPhG (ORCPT ); Fri, 22 Mar 2019 11:37:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dc5p1vsUqTu5JIvBxPRroE8mMezxfCahpebxF/O5Spw=; b=ND1CWGBgLmeCrrMYWSOVsc5T1BsmLaDEaE1oUzZGIh6Mx6yVhBHkVCBohIK/cGiFZOP558IfatlIux2QEu7XQzb0kQBK7oTYmNdcJfVnx9JSNUZ2TfNhA32aIXKg4Mc0ZmoTMzmmuaZz/blJRccJtZxTqVYhG7EpSJtF7S+c5cU= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB5636.eurprd04.prod.outlook.com (20.178.202.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Fri, 22 Mar 2019 15:37:01 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769%2]) with mapi id 15.20.1709.017; Fri, 22 Mar 2019 15:37:01 +0000 From: Abel Vesa To: Stephen Boyd , Shawn Guo , Fabio Estevam , Aisheng Dong , Lucas Stach , Sascha Hauer CC: "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , Abel Vesa Subject: [RFC 01/19] clk: imx: Remove unused imx_get_clk_hw_fixed Thread-Topic: [RFC 01/19] clk: imx: Remove unused imx_get_clk_hw_fixed Thread-Index: AQHU4MUX5g7KJsOrZUihLaidcjmT2Q== Date: Fri, 22 Mar 2019 15:37:01 +0000 Message-ID: <1553269010-15591-2-git-send-email-abel.vesa@nxp.com> References: <1553269010-15591-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1553269010-15591-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0170.eurprd08.prod.outlook.com (2603:10a6:800:d1::24) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [212.146.100.6] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b2bc60ca-bb0d-4380-ae4e-08d6aedc3a0e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB5636; x-ms-traffictypediagnostic: AM0PR04MB5636: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(346002)(366004)(39860400002)(376002)(396003)(136003)(199004)(189003)(106356001)(105586002)(54906003)(110136005)(316002)(52116002)(6512007)(81156014)(97736004)(53936002)(86362001)(81166006)(478600001)(8676002)(2906002)(14454004)(486006)(99286004)(36756003)(7736002)(71200400001)(44832011)(71190400001)(3846002)(5660300002)(4744005)(386003)(4326008)(6116002)(6486002)(50226002)(6506007)(66066001)(256004)(76176011)(446003)(186003)(25786009)(11346002)(68736007)(26005)(476003)(6436002)(2616005)(8936002)(102836004)(305945005)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5636;H:AM0PR04MB5779.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: agMBKTtI3OsguM+X3aP/IMwlSVFcmoLedtnS4o/P11f2L6pnYWTfbUiadbsNY2oSS9eluWBDEUZjbrYRvh9NzTNsvk4KwhgS85zxsK++6CoQalPDMj5ScoZOdcVjUaU/p2u3GrPrPi+JE3qZn6aTkME+Uk78LNvVeGfYdhMaQ7ObWwX7Rn/zfE3KRbCDVXuglb20PfG1k6eqz++b7GCpU8cuzl3uJ8tnjhJK0xvniRIIgiKpBn4U5GZcsGaJLW1QIz+A6G+OZmYXmNIlpee0R7pZjThgSx2EWJAtU3JzA7T+P5D81o0y3vFBWf6assTbLTet03jW4x2txDYFJ4Ba72Me44ud4I0pDcvAEaNLU+nH30qN4N6k7YKYUtoLc7ALhErZJsgzrg4jZ/tmUmhfN6o5OGEUg4BBUbQnyuHPdJw= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b2bc60ca-bb0d-4380-ae4e-08d6aedc3a0e X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 15:37:01.2144 (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-Transport-CrossTenantHeadersStamped: AM0PR04MB5636 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is never used and the imx_clk_hw_fixed does the same thing. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h index 5748ec8..edc12d6 100644 --- a/drivers/clk/imx/clk.h +++ b/drivers/clk/imx/clk.h @@ -138,11 +138,6 @@ static inline struct clk_hw *imx_clk_hw_fixed(const ch= ar *name, int rate) return clk_hw_register_fixed_rate(NULL, name, NULL, 0, rate); } =20 -static inline struct clk_hw *imx_get_clk_hw_fixed(const char *name, int ra= te) -{ - return clk_hw_register_fixed_rate(NULL, name, NULL, 0, rate); -} - static inline struct clk *imx_clk_mux_ldb(const char *name, void __iomem *= reg, u8 shift, u8 width, const char * const *parents, int num_parents) --=20 2.7.4