From 016ee7a596fcee8af62f0779ec9b0fb2b5daa677 Mon Sep 17 00:00:00 2001 From: scpcom Date: Sun, 31 Oct 2021 18:50:21 +0100 Subject: [PATCH] drm/rockchip: dsi: remove unused dw_mipi_dsi_rockchip_set_lcdsel --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index 964b16719b97d..ac9bdbe926121 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c @@ -1322,13 +1322,6 @@ static void dw_mipi_dsi_encoder_enable(struct drm_encoder *encoder) drm_panel_enable(dsi->panel); } -static void dw_mipi_dsi_rockchip_set_lcdsel(struct dw_mipi_dsi_rockchip *dsi, - int mux) -{ - regmap_write(dsi->grf_regmap, dsi->cdata->lcdsel_grf_reg, - mux ? dsi->cdata->lcdsel_lit : dsi->cdata->lcdsel_big); -} - static int dw_mipi_dsi_encoder_atomic_check(struct drm_encoder *encoder, struct drm_crtc_state *crtc_state,