]> 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)
commitb97ff9621ccf90b9af9ade3d652cd095130e5646
treefb7b312f6ba7ab03334e7bee71b2fdf7b6af7c3e
parentff03ea78991fde86398e1ad1ab678b683f4bd585
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