]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mediatek: Use real dependencies
authorJean Delvare <jdelvare@suse.de>
Wed, 25 Jan 2017 09:32:09 +0000 (10:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Jan 2017 15:26:50 +0000 (16:26 +0100)
commite287664b833a4cc090388a5b7578469ca0854747
treefb7b312f6ba7ab03334e7bee71b2fdf7b6af7c3e
parente6d16eaf98a9be7a373337be9eda665fb98d873c
pinctrl: mediatek: Use real dependencies

Do not hide pinctrl drivers for Mediatek platforms using
conditionals. Doing so actually leaves the symbols present (but
always disabled) on all other platforms, which is confusing and
inefficient. Better use real dependencies so that the symbols do not
exist at all on platforms where they are not relevant.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reported-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/Kconfig