[PATCH] drm: probe_helper: Hide ugly ifdef

2016-04-20 Thread Daniel Vetter
On Wed, Apr 20, 2016 at 12:24:16PM +0300, Jani Nikula wrote: > On Tue, 19 Apr 2016, Ezequiel Garcia wrote: > > Push the ifdef to the drm_edid.h and create a stub, for the > > DRM_LOAD_EDID_FIRMWARE=n case. This removes some clutter in > > the code, making it more readable. > > > > Signed-off-by: E

[PATCH] drm: probe_helper: Hide ugly ifdef

2016-04-20 Thread Jani Nikula
On Tue, 19 Apr 2016, Ezequiel Garcia wrote: > Push the ifdef to the drm_edid.h and create a stub, for the > DRM_LOAD_EDID_FIRMWARE=n case. This removes some clutter in > the code, making it more readable. > > Signed-off-by: Ezequiel Garcia Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/drm

[PATCH] drm: probe_helper: Hide ugly ifdef

2016-04-19 Thread Ezequiel Garcia
Push the ifdef to the drm_edid.h and create a stub, for the DRM_LOAD_EDID_FIRMWARE=n case. This removes some clutter in the code, making it more readable. Signed-off-by: Ezequiel Garcia --- drivers/gpu/drm/drm_probe_helper.c | 2 -- include/drm/drm_edid.h | 8 2 files change