diff mbox series

[1/3] ufs: host: ufs-exynos: remove unused defines

Message ID 20220615121204.16642-1-alim.akhtar@samsung.com (mailing list archive)
State New, archived
Headers show
Series [1/3] ufs: host: ufs-exynos: remove unused defines | expand

Commit Message

Alim Akhtar June 15, 2022, 12:12 p.m. UTC
Remove #defines as those are not used anywhere in the driver file

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
---
 drivers/ufs/host/ufs-exynos.c | 10 ----------
 1 file changed, 10 deletions(-)


base-commit: 6012273897fefb12566580efedee10bb06e5e6ed

Comments

Chanho Park June 15, 2022, 11:30 p.m. UTC | #1
> 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 <chanho61.park@samsung.com>

Best Regards,
Chanho Park
Martin K. Petersen June 17, 2022, 1:48 a.m. UTC | #2
Alim,

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

Applied to 5.20/scsi-staging, thanks!
Martin K. Petersen June 22, 2022, 2:10 a.m. UTC | #3
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
diff mbox series

Patch

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