diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-04-24 06:47:48 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-24 06:47:47 -0700 |
| commit | 8495c8f05646e2149775f9bf54090cf59b67f5a9 (patch) | |
| tree | 2d06c3acfa84c4ba5b640879cae727b57f0bae76 /drivers/video/fbdev | |
| parent | c0eb692e36b91b7fd31a24691dc5309d4f942a0d (diff) | |
| parent | 85b6d2c63898d8c98de3fdaa1fada885e7521e36 (diff) | |
Merge "msm: mdss: fix a warning for unused value"
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/msm_mdss_io_8974.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/msm_mdss_io_8974.c b/drivers/video/fbdev/msm/msm_mdss_io_8974.c index 9c156af6b63c..87fe6d739acf 100644 --- a/drivers/video/fbdev/msm/msm_mdss_io_8974.c +++ b/drivers/video/fbdev/msm/msm_mdss_io_8974.c @@ -1229,10 +1229,11 @@ static void mdss_dsi_8996_phy_config(struct mdss_dsi_ctrl_pdata *ctrl) off = DSIPHY_LANE_CFG_BASE; ln_off = cnt * MDSS_DSI_NUM_DATA_LANES; ip = &pd->lanecfg[ln_off]; - for (j = 0; j < cnt; j++, *ip++) { + for (j = 0; j < cnt; j++) { MIPI_OUTP(base + off, *ip); if (panel_info->split_link_enabled) MIPI_OUTP(base + CLKLANE_SIZE_8996 + off, *ip); + ip++; off += DSIPHY_LANE_CFG_OFFSET; } @@ -1245,10 +1246,11 @@ static void mdss_dsi_8996_phy_config(struct mdss_dsi_ctrl_pdata *ctrl) off = DSIPHY_LANE_TIMING_CTRL_BASE; ln_off = cnt * MDSS_DSI_NUM_DATA_LANES; ip = &pd->timing_8996[ln_off]; - for (j = 0; j < cnt; j++, *ip++) { + for (j = 0; j < cnt; j++) { MIPI_OUTP(base + off, *ip); if (panel_info->split_link_enabled) MIPI_OUTP(base + CLKLANE_SIZE_8996 + off, *ip); + ip++; off += DSIPHY_LANE_TIMING_CTRL_OFFSET; } @@ -1261,10 +1263,11 @@ static void mdss_dsi_8996_phy_config(struct mdss_dsi_ctrl_pdata *ctrl) off = DSIPHY_LANE_STRENGTH_CTRL_BASE; ln_off = cnt * MDSS_DSI_NUM_DATA_LANES; ip = &pd->strength[ln_off]; - for (j = 0; j < cnt; j++, *ip++) { + for (j = 0; j < cnt; j++) { MIPI_OUTP(base + off, *ip); if (panel_info->split_link_enabled) MIPI_OUTP(base + CLKLANE_SIZE_8996 + off, *ip); + ip++; off += DSIPHY_LANE_STRENGTH_CTRL_OFFSET; } |
