aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
diff options
context:
space:
mode:
authorKonrad Dybcio <[email protected]>2024-04-22 22:36:59 +0000
committerDmitry Baryshkov <[email protected]>2024-06-22 22:15:39 +0000
commit8fd6f64ddba041c3cf252f928b8c446a37996f39 (patch)
treea5115e982aebff158acea83dff5dc686dd021121 /drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
parentdrm/msm/a7xx: Add missing register writes from downstream (diff)
downloadkernel-8fd6f64ddba041c3cf252f928b8c446a37996f39.tar.gz
kernel-8fd6f64ddba041c3cf252f928b8c446a37996f39.zip
drm/msm/dsi: Remove dsi_phy_read/write()
These are dummy wrappers that do literally nothing interesting. Remove them. Signed-off-by: Konrad Dybcio <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/590700/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/phy/dsi_phy.h')
-rw-r--r--drivers/gpu/drm/msm/dsi/phy/dsi_phy.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
index 5a5dc3faa971..7df4d852e6fa 100644
--- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
+++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.h
@@ -12,8 +12,6 @@
#include "dsi.h"
-#define dsi_phy_read(offset) readl((offset))
-#define dsi_phy_write(offset, data) writel((data), (offset))
#define dsi_phy_write_udelay(offset, data, delay_us) { writel((data), (offset)); udelay(delay_us); }
#define dsi_phy_write_ndelay(offset, data, delay_ns) { writel((data), (offset)); ndelay(delay_ns); }