[PATCH] pinctrl: mediatek: Use real dependencies

Linus Walleij linus.walleij at linaro.org
Thu Jan 26 07:26:29 PST 2017


On Wed, Jan 25, 2017 at 10:32 AM, Jean Delvare <jdelvare at suse.de> wrote:

> 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 at suse.de>
> Reported-by: Andreas Färber <afaerber at suse.de>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Matthias Brugger <matthias.bgg at gmail.com>

Patch applied with Matthias' review tag.

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list