]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/mediatek: mtk_dpi: remove invalid error message
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 26 May 2016 15:19:39 +0000 (17:19 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 1 Jun 2016 14:09:54 +0000 (16:09 +0200)
commit515ba6a59cbab44c989f25b2518b82491deb832e
treeb13d754a22520c47bfc2e3b343c71cb176232d4b
parent1a695a905c18548062509178b98bc91e67510864
drm/mediatek: mtk_dpi: remove invalid error message

Do not try to dereference dpi if it is NULL.
Since dpi can never be NULL when mtk_dpi_set_display_mode() is called,
remove the message.

Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/mediatek/mtk_dpi.c