From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH] pinctrl: mediatek: Use real dependencies Date: Thu, 26 Jan 2017 16:26:29 +0100 Message-ID: References: <20170125103209.1d97b0bd@endymion> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-it0-f49.google.com ([209.85.214.49]:37595 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753200AbdAZP0b (ORCPT ); Thu, 26 Jan 2017 10:26:31 -0500 Received: by mail-it0-f49.google.com with SMTP id r185so35620891ita.0 for ; Thu, 26 Jan 2017 07:26:31 -0800 (PST) In-Reply-To: <20170125103209.1d97b0bd@endymion> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Jean Delvare Cc: "linux-gpio@vger.kernel.org" , "moderated list:ARM/Mediatek SoC support" , Matthias Brugger , Biao Huang , James Liao , =?UTF-8?Q?Andreas_F=C3=A4rber?= On Wed, Jan 25, 2017 at 10:32 AM, Jean Delvare 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 > Reported-by: Andreas F=C3=A4rber > Cc: Linus Walleij > Cc: Matthias Brugger Patch applied with Matthias' review tag. Yours, Linus Walleij