From patchwork Thu Mar 21 15:25:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10863813 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4A4DD15AC for ; Thu, 21 Mar 2019 15:26:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24F392A196 for ; Thu, 21 Mar 2019 15:26:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 144E02A198; Thu, 21 Mar 2019 15:26:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3F302A194 for ; Thu, 21 Mar 2019 15:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NrM+s/T+6H43KDCjdj6zNg3EJHHRq61ymfrvyxM7hCU=; b=LrSA/KodID5V3A tiOqMMEFEQtR++5f3p+l0+jJEt052HgmnHlqklUcurNZs48AAnz9mQGJ+mWgdbQoUDd7Sv3GWe4rH PK3JQq9HN3dVr0vWfP/4NxBmVl1a7Y1yS1xVl1JS1EYk0+JaRTgBf7QBnJMCJva/KH9dIY5nb/pqJ 0uvCtlBpefKK4of85iBNbLKmEtt+Gn9jENuxBCb9QtqGAqtqYlQbZjQWEMwRFHcOfSglG+ZwqlLlv LXWgnKnfee9Ukd293dD8dFsf03qo9ibIhJrqr9QmGV5dFGwAR/4qd2mI3zuPQ7yzPI/n0kPmFD/Gk nA9idS0wMrj7C/hdS3qA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6zZy-0007nr-LK; Thu, 21 Mar 2019 15:26:02 +0000 Received: from mail-ve1eur02on060c.outbound.protection.outlook.com ([2a01:111:f400:fe06::60c] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6zZu-0007mp-Gg for linux-arm-kernel@lists.infradead.org; Thu, 21 Mar 2019 15:26:00 +0000 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=rUWRSx692a+6qkxcTIKXDcGZ9BbxWT4LxDlIdsXWbW4JboOAZMZy3pEbsCZaECfpn9Wiy7yqq4EkHy2rwcNcT/KfOxITIHp1hKEj5tCQuC4MUNEQwEG8PEnmPajIRVjv1X8gOSGKkVC2yde129tFxAd6oj73si6Y4NFTpHdBazY= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4388.eurprd04.prod.outlook.com (52.135.148.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Thu, 21 Mar 2019 15:25:54 +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; Thu, 21 Mar 2019 15:25:54 +0000 From: Abel Vesa To: Mike Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Aisheng Dong , Lucas Stach , Fabio Estevam Subject: [PATCH] clk: imx: Remove unused imx_get_clk_hw_fixed Thread-Topic: [PATCH] clk: imx: Remove unused imx_get_clk_hw_fixed Thread-Index: AQHU3/pgiSlUmcBDSUm5+clCoj/uvQ== Date: Thu, 21 Mar 2019 15:25:54 +0000 Message-ID: <1553181943-24123-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: VI1P190CA0034.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::47) 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: 722ed74a-4452-4636-0b98-08d6ae11826f 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:AM0PR04MB4388; x-ms-traffictypediagnostic: AM0PR04MB4388: x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(346002)(136003)(39860400002)(189003)(199004)(6486002)(2906002)(4744005)(486006)(5660300002)(71200400001)(36756003)(8936002)(99286004)(44832011)(66066001)(476003)(86362001)(71190400001)(256004)(316002)(54906003)(110136005)(4326008)(6636002)(2616005)(68736007)(50226002)(6116002)(3846002)(105586002)(6436002)(26005)(478600001)(14454004)(97736004)(186003)(52116002)(386003)(6506007)(102836004)(81166006)(81156014)(8676002)(6512007)(53936002)(106356001)(305945005)(7736002)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4388; H:AM0PR04MB5779.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: uoqftTFBFOhQPAecXJ7U+SDv9DmnVdMydE8ABJ02nL54wK30+wqP2ww/eDplUVCRylZKj6TT5r+v8GoxLHtpeqDUHA5NOBOHi1cRBMGqJDhSQPqHoeB+qitJnbE8uN6nXzS24dF5W3uBRS8PiWgTVIqaUmayWpLkExsCjmyUpdwZPPOy8aKJ/LqUQvkr3k+xYw+pw+m3Y3bosukp3W//TaaNm6dMvtkJTs9EwrKxL2U3H9ANFv6p/vkktgGAF1ha8YDGdBxUm8PSea92qJLJRbOzVa46N8FSZonrNkG1ogm37i5AFO5Gu4DCsQ99TM7adXfTC87pME2SLqWXiLryQAsuI5xymeSPK08VbRqATH5piMSGheUZZg2xXw383JIeHw0E6Mx7Z1/agwrWzrhP63DeplHfiE9yflGo/xzF9Cg= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 722ed74a-4452-4636-0b98-08d6ae11826f X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 15:25:54.7728 (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: AM0PR04MB4388 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190321_082558_550320_AFA6812E X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Abel Vesa , Linux Kernel Mailing List , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Jacky Bai Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 char *name, int rate) return clk_hw_register_fixed_rate(NULL, name, NULL, 0, rate); } -static inline struct clk_hw *imx_get_clk_hw_fixed(const char *name, int rate) -{ - 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)