drm: fixes when i2c encoder slave mode_fixup is null.
authorCarlos Palminha <CARLOS.PALMINHA@synopsys.com>
Wed, 10 Feb 2016 12:08:38 +0000 (12:08 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Feb 2016 14:14:49 +0000 (15:14 +0100)
commit71dfb744bd9e11e765036f8096d7c2c6c19d2b0f
treeffab2954f796253559e444a1b6b5a2fac3724cb4
parent52dfa12e45510fce566fb240135420d7a0b5d0e6
drm: fixes when i2c encoder slave mode_fixup is null.

Avoid i2c slave encoder drivers to copy/paste code to implement functions that will
only return true.

Signed-off-by: Carlos Palminha <palminha@synopsys.com>
[danvet: whitespace requested by Jani.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1455106118-32145-1-git-send-email-palminha@synopsys.com
drivers/gpu/drm/drm_encoder_slave.c