]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: remove unnecessary config_enabled() guard
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 23 Aug 2016 16:42:54 +0000 (01:42 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Aug 2016 05:43:42 +0000 (07:43 +0200)
commit1fae3c8f322360ed9eb279d3644facac090c4194
treed6d115942e3f7fb4af9be3808d9a08f26862c7a1
parent357ebc701594d3614fd9ab2a6356148fce3ab5b2
drm/gma500: remove unnecessary config_enabled() guard

Commit 33629902c437 ("gma500/cdv: Add eDP support") replaced the
code inside this if-conditional with gma_backlight_set(), which
becomes a nop stub if CONFIG_BACKLIGHT_CLASS_DEVICE is disabled.
So, there is no need to guard the caller with config_enabled().

Note:
This is one of remaining TODOs to deprecate config_enabled() macro.
Refer to commit eca54a7ff1d4 ("tree-wide: replace config_enabled()
with IS_ENABLED()").

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1471970574-23906-1-git-send-email-yamada.masahiro@socionext.com
drivers/gpu/drm/gma500/opregion.c