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

Commit 5a09b499 authored by Yuan Zhao's avatar Yuan Zhao Committed by Gerrit - the friendly Code Review server
Browse files

drm: fixed the i2c warning logs when dp mst edid read



There's no dts node defined for aux i2c, so did not need
to define the of_node here.

Change-Id: Icbb02c224e811c0fbde0cc021be17da41a0cc269
Signed-off-by: default avatarYuan Zhao <yzhao@codeaurora.org>
parent eb45ec3a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3519,7 +3519,6 @@ static int drm_dp_mst_register_i2c_bus(struct drm_dp_aux *aux)
	aux->ddc.class = I2C_CLASS_DDC;
	aux->ddc.owner = THIS_MODULE;
	aux->ddc.dev.parent = aux->dev;
	aux->ddc.dev.of_node = aux->dev->of_node;

	strlcpy(aux->ddc.name, aux->name ? aux->name : dev_name(aux->dev),
		sizeof(aux->ddc.name));