drm/tiny: Kconfig: Remove always-y THERMAL dep. from TINYDRM_REPAPER
authorUlf Magnusson <ulfalizer@gmail.com>
Fri, 27 Sep 2019 17:42:32 +0000 (19:42 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 10 Oct 2019 13:15:51 +0000 (15:15 +0200)
commitb33a654a5bd6bba0052ca2d86098826b309f27b8
treeceeb2703887db3f9905e14113aee73ffb7e6587e
parentfd70c7755bf0172ddd33b558aef69c322de3b5cf
drm/tiny: Kconfig: Remove always-y THERMAL dep. from TINYDRM_REPAPER

[cherry-picked to drm-misc-fixes: drm-misc-next commit dfef959803c7]

Commit 554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's
option") changed the type of THERMAL from tristate to bool, so
THERMAL || !THERMAL is now always y. Remove the redundant dependency.

Discovered through Kconfiglib detecting a dependency loop. The C tools
simplify the expression to y before running dependency loop detection,
and so don't see it. Changing the type of THERMAL back to tristate makes
the C tools detect the same loop.

Not sure if running dep. loop detection after simplification can be
called a bug. Fixing this nit unbreaks Kconfiglib on the kernel at
least.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190927174218.GA32085@huvuddator
drivers/gpu/drm/tiny/Kconfig