Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f46c333 authored by Sachin Kamat's avatar Sachin Kamat Committed by Inki Dae
Browse files

drm/exynos: Remove unnecessary braces in exynos_hdmi.c



Silences the following checkpatch warning:
WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent b9047b8d
Loading
Loading
Loading
Loading
+4 −6
Original line number Original line Diff line number Diff line
@@ -1373,11 +1373,10 @@ static void hdmiphy_conf_apply(struct hdmi_context *hdata)
		return;
		return;
	}
	}


	if (hdata->type == HDMI_TYPE13) {
	if (hdata->type == HDMI_TYPE13)
		hdmiphy_data = hdmiphy_v13_configs[i].conf;
		hdmiphy_data = hdmiphy_v13_configs[i].conf;
	} else {
	else
		hdmiphy_data = hdmiphy_v14_configs[i].conf;
		hdmiphy_data = hdmiphy_v14_configs[i].conf;
	}


	memcpy(buffer, hdmiphy_data, 32);
	memcpy(buffer, hdmiphy_data, 32);
	ret = i2c_master_send(hdata->hdmiphy_port, buffer, 32);
	ret = i2c_master_send(hdata->hdmiphy_port, buffer, 32);
@@ -1653,12 +1652,11 @@ static void hdmi_mode_set(void *ctx, void *mode)
		m->vrefresh, (m->flags & DRM_MODE_FLAG_INTERLACE) ?
		m->vrefresh, (m->flags & DRM_MODE_FLAG_INTERLACE) ?
		"INTERLACED" : "PROGERESSIVE");
		"INTERLACED" : "PROGERESSIVE");


	if (hdata->type == HDMI_TYPE13) {
	if (hdata->type == HDMI_TYPE13)
		hdmi_v13_mode_set(hdata, mode);
		hdmi_v13_mode_set(hdata, mode);
	} else {
	else
		hdmi_v14_mode_set(hdata, mode);
		hdmi_v14_mode_set(hdata, mode);
}
}
}


static void hdmi_get_max_resol(void *ctx, unsigned int *width,
static void hdmi_get_max_resol(void *ctx, unsigned int *width,
					unsigned int *height)
					unsigned int *height)