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)
commit79d6208988a03a0a3f908b2d5c40ea020d887d5b
treefb7b312f6ba7ab03334e7bee71b2fdf7b6af7c3e
parentcff2b010250c0e0984fc9e71a96c55495a3ae9e7
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