2022-06-15 12:49:58

by Alim Akhtar

[permalink] [raw]
Subject: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines

Remove #defines as those are not used anywhere in the driver file

Signed-off-by: Alim Akhtar <[email protected]>
---
drivers/ufs/host/ufs-exynos.c | 10 ----------
1 file changed, 10 deletions(-)

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

base-commit: 6012273897fefb12566580efedee10bb06e5e6ed
--
2.25.1


2022-06-15 23:55:44

by Chanho Park

[permalink] [raw]
Subject: RE: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines

> Subject: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines
>
> Remove #defines as those are not used anywhere in the driver file
>

Reviewed-by: Chanho Park <[email protected]>

Best Regards,
Chanho Park

2022-06-17 01:59:56

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines


Alim,

> Remove #defines as those are not used anywhere in the driver file

Applied to 5.20/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering

2022-06-22 02:23:16

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines

On Wed, 15 Jun 2022 17:42:02 +0530, Alim Akhtar wrote:

> Remove #defines as those are not used anywhere in the driver file
>
>

Applied to 5.20/scsi-queue, thanks!

[1/3] ufs: host: ufs-exynos: remove unused defines
https://git.kernel.org/mkp/scsi/c/6c6806abd5bb
[2/3] ufs: host: ufs-exynos: use already existing define
https://git.kernel.org/mkp/scsi/c/cb2bf7c6e544
[3/3] include: ufs: re-arrange addresses in increasing order
https://git.kernel.org/mkp/scsi/c/c0d93b12f31c

--
Martin K. Petersen Oracle Linux Engineering