drm: mode: Allow NULL modes for equality check
authorDaniel Stone <daniels@collabora.com>
Thu, 19 Mar 2015 04:33:02 +0000 (04:33 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Mar 2015 15:22:30 +0000 (16:22 +0100)
commit54270952e9a83aebf31d16ded28e6757fdf8c88b
tree8fb4faede55572a36a012b7645efb7294b0f9af0
parentf3af5c7ddd9af8a466a725c6ba8ae2414aa19113
drm: mode: Allow NULL modes for equality check

Since we're now using mode == NULL to represent disabled, it's not
wholly surprising that we'd want to compare NULL modes.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_modes.c