Message ID | 20220615121204.16642-1-alim.akhtar@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6c6806abd5bbb0e0ed4797cf1ef0c7ff1962ebac |
Headers | show |
Series | [1/3] ufs: host: ufs-exynos: remove unused defines | expand |
> 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
Alim,
> Remove #defines as those are not used anywhere in the driver file
Applied to 5.20/scsi-staging, thanks!
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 --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
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