提交 3cda3d31 编写于 作者: B Bernard Zhao 提交者: Chun-Kuang Hu

drm/mediatek: Cleanup coding style in mediatek a bit

This code change is to make code bit more readable.
Signed-off-by: NBernard Zhao <bernard@vivo.com>
Signed-off-by: NChun-Kuang Hu <chunkuang.hu@kernel.org>
上级 9a67bc4a
......@@ -311,14 +311,10 @@ static void mtk_hdmi_hw_send_info_frame(struct mtk_hdmi *hdmi, u8 *buffer,
u8 checksum;
int ctrl_frame_en = 0;
frame_type = *buffer;
buffer += 1;
frame_ver = *buffer;
buffer += 1;
frame_len = *buffer;
buffer += 1;
checksum = *buffer;
buffer += 1;
frame_type = *buffer++;
frame_ver = *buffer++;
frame_len = *buffer++;
checksum = *buffer++;
frame_data = buffer;
dev_dbg(hdmi->dev,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册