]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: consolidate unnecessary explicit dependencies
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 13 Jun 2014 13:06:11 +0000 (14:06 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 14 Jul 2014 08:24:57 +0000 (10:24 +0200)
commite7b64799ef278598fd5a8c2980bf23ea2a18263e
tree3a14e2312c459063112f68f40934571ebdd7e875
parent16f6cba3175cb220c05a56e83a0b9ec28f5367b5
drm/panel: consolidate unnecessary explicit dependencies

DRM_PANEL_LD9040 and DRM_PANEL_S6E8AA0 both explicitly depended on
DRM_PANEL && DRM, whereas DRM_PANEL_SIMPLE relies upon the dependency
on the menu.

We do not need to use explicit dependencies if we make the menu depend
on DRM_PANEL && DRM - this will implicitly make each entry in the menu
depend on DRM_PANEL && DRM without this needing to be explicitly stated
against every entry.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/panel/Kconfig