From patchwork Wed Jun 15 12:12:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 12882248 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 03D69C433EF for ; Wed, 15 Jun 2022 12:16:39 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References: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=CF8TX+gW5p5AF7mWFOGQu70S2YElU6M7PpsCzkigJBU=; b=itiUfGU6/i/yDt Pt8gS6tAjGvO5Bjp7MuUYKL0rXPeIhmmtLaDt+Q7tmaBmpLzCQUh3G0MdS0npPJK21Y9fA/9Fxi3g XgfSD9wP6ndsqK1joSj8hnjl6OOnadCyY8JKFKHHn4Upz4dO6FuqHMREMSF1enVjDI7bvHf9lz8ut 93wl/yyjIts2SLWYctCE0x62cu/O8PSg3PmA4BcjJt9MhgO5jzLY8WCOrMOQlSAJQPwqtdQURiimE GDnfSSza7+8MTLXdgKT93GG4DafKMIhojeDUV85zQa/cVq5zirpQz2F48Pc7yWYPAVvB6xT0Q4mzE uzg6nD7nliSV2MpgDiPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvh-00EPfs-Ig; Wed, 15 Jun 2022 12:15:25 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvb-00EPaw-QX for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 12:15:22 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220615121512epoutp04bfd0047c019e90a52dcb40a8f23ce03a~4ylEf7wXY2368723687epoutp04N for ; Wed, 15 Jun 2022 12:15:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220615121512epoutp04bfd0047c019e90a52dcb40a8f23ce03a~4ylEf7wXY2368723687epoutp04N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1655295312; bh=45EVsfyKlrStPGc+fbkJ+/PhzRWuoeaPcj31oX5+kQI=; h=From:To:Cc:Subject:Date:References:From; b=C1Nxx2YBs4fWdDBTN1/Up2alOxOsjlQTPxQYDaAq/aDlNTCpoQVqIfmkBl1Rg7b8b d2ry41oa8tD1g7JtHerV2cirBWUNsjxKXAuolP5KgeavU7Thy5OMyyNNu1JqVYgHqW 3958t3dDxLdZFpFZgYBU1QwZwRgV9+sGo++lG+zc= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20220615121511epcas5p3619574d4c9ea0cefacc447dca0bc8390~4ylDofWAz2105621056epcas5p3E; Wed, 15 Jun 2022 12:15:11 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.182]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LNPQ55SD9z4x9Px; Wed, 15 Jun 2022 12:15:09 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 37.87.09762.D4DC9A26; Wed, 15 Jun 2022 21:15:09 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20220615121508epcas5p3a42f8503bb6c6120cb4c0606109fe9c4~4ylAqOeyM1809018090epcas5p3W; Wed, 15 Jun 2022 12:15:08 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220615121508epsmtrp25980d86e295ce4be58a76bc40688f8b0~4ylApTicz0134601346epsmtrp2w; Wed, 15 Jun 2022 12:15:08 +0000 (GMT) X-AuditID: b6c32a4b-1fdff70000002622-a4-62a9cd4d9fed Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id A6.72.08924.C4DC9A26; Wed, 15 Jun 2022 21:15:08 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220615121505epsmtip25af5427dbaad4a1ac93d29b318c37e44~4yk9oJ11A0845808458epsmtip2g; Wed, 15 Jun 2022 12:15:05 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org Cc: beanhuo@micron.com, krzysztof.kozlowski+dt@linaro.org, avri.altman@wdc.com, bvanassche@acm.org, martin.petersen@oracle.com, chanho61.park@samsung.com, linux-samsung-soc@vger.kernel.org, Alim Akhtar Subject: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines Date: Wed, 15 Jun 2022 17:42:02 +0530 Message-Id: <20220615121204.16642-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFKsWRmVeSWpSXmKPExsWy7bCmhq7v2ZVJBls3a1o8mLeNzeLlz6ts FgcfdrJYTPvwk9ni8n5ti74XD5ktNj2+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120cb4c0606109fe9c4 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220615121508epcas5p3a42f8503bb6c6120cb4c0606109fe9c4 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_051520_245860_10124496 X-CRM114-Status: GOOD ( 12.77 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove #defines as those are not used anywhere in the driver file Signed-off-by: Alim Akhtar Reviewed-by: Chanho Park --- drivers/ufs/host/ufs-exynos.c | 10 ---------- 1 file changed, 10 deletions(-) base-commit: 6012273897fefb12566580efedee10bb06e5e6ed diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c index 068f881113ff..04728b5da040 100644 --- a/drivers/ufs/host/ufs-exynos.c +++ b/drivers/ufs/host/ufs-exynos.c @@ -136,16 +136,6 @@ enum { /* * UNIPRO registers */ -#define UNIPRO_COMP_VERSION 0x000 -#define UNIPRO_DME_PWR_REQ 0x090 -#define UNIPRO_DME_PWR_REQ_POWERMODE 0x094 -#define UNIPRO_DME_PWR_REQ_LOCALL2TIMER0 0x098 -#define UNIPRO_DME_PWR_REQ_LOCALL2TIMER1 0x09C -#define UNIPRO_DME_PWR_REQ_LOCALL2TIMER2 0x0A0 -#define UNIPRO_DME_PWR_REQ_REMOTEL2TIMER0 0x0A4 -#define UNIPRO_DME_PWR_REQ_REMOTEL2TIMER1 0x0A8 -#define UNIPRO_DME_PWR_REQ_REMOTEL2TIMER2 0x0AC - #define UNIPRO_DME_POWERMODE_REQ_REMOTEL2TIMER0 0x78B8 #define UNIPRO_DME_POWERMODE_REQ_REMOTEL2TIMER1 0x78BC #define UNIPRO_DME_POWERMODE_REQ_REMOTEL2TIMER2 0x78C0