From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75D9AC54EBE for ; Thu, 12 Jan 2023 20:16:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=agatFXsuUp6W0yh8XeCPTaFyjDKJMO+EkIGfAZv7f4c=; b=YxVnP+1uNXBiEw 32L5SldObd+SBnLedFfjCElYTZNr3qHxNHd5KEFBfkrLWPg+y5WdPbcBEga64bbdrJRIuXHpuHLZQ x7mLWvDFreDF1VmMBFFJmVP48lLwcFcTnfJ+S9eH6QpWObwgw1oB6Sw9gtBEI+3I1gV8TocYcJPer W+FjeywTfvJOe7rEySnMRSSaRc5xm7zfl/pNTR3ChlJQ4T8WnpVAILpbxfe3zCFhaAyojH9m9RnzU /JoJKWhcHsTD4mGV43CnOQPJHob5n9ayr04DRZapvtoBBWWMfDqyXAvhw4CiuxvQdJcDjclo9rAqF MbTC3iu0al6jFJ6d5mIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG3ym-00Golf-1a; Thu, 12 Jan 2023 20:15:17 +0000 Received: from hours.tkos.co.il ([84.110.109.230] helo=mail.tkos.co.il) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG3ID-00GVtj-Kk for linux-arm-kernel@lists.infradead.org; Thu, 12 Jan 2023 19:31:19 +0000 Received: from tarshish (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 7AC07440319; Thu, 12 Jan 2023 21:27:39 +0200 (IST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1673551659; bh=vS60k0tj2u3HznO7yKB7DChKrzNTg3akDjVjvbv3vuk=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=TUl8PMGUNUxB8+l+k2S3hmtX10rrsh5tMMfu/21WnMrXVGKnJYmVODXOJ6rQN6aCV GknJ0ELuEmIa1HdsS5aG+eTtC21AG6OHPdV2Zf83W0Ltg4z4uJoNjcGeDDraAPihAu PjPeAvvq7hDGLLMhxg+iPokOd2S0JQw0u4hnaxxQrlfYTzHPeIIMisrKBcwROEyGmi S8mlRrpHeJ0fiUW0dx09hBe7qvdreGg2UuPsqK7l47BoAb0U+oRGkdhpze+Nt4/tnX YYuQQZE4faHIlU9nZ13LRcF/XRV3HHyT/Isn4GnXB10INMO9MWIJc8xeJv1dvCIHFe 7ub0pap/FaHGA== References: <20230112184823.80349-1-andriy.shevchenko@linux.intel.com> <20230112184823.80349-2-andriy.shevchenko@linux.intel.com> User-agent: mu4e 1.8.10; emacs 28.2 From: Baruch Siach To: Andy Shevchenko Cc: Linus Walleij , Jianlong Huang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 2/2] pinctrl: digicolor: Use proper headers and drop OF dependency Date: Thu, 12 Jan 2023 21:30:46 +0200 In-reply-to: <20230112184823.80349-2-andriy.shevchenko@linux.intel.com> Message-ID: <87v8lbpn24.fsf@tarshish> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_113117_983067_2D7BEDB0 X-CRM114-Status: GOOD ( 16.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Andy, On Thu, Jan 12 2023, Andy Shevchenko wrote: > The driver doesn't depend on the OF to be complied. Hence > the proper header to use is mod_devicetable.h. Replace of*.h with > the above mentioned and drop redundant dependency. > > Signed-off-by: Andy Shevchenko Acked-by: Baruch Siach baruch > --- > drivers/pinctrl/Kconfig | 2 +- > drivers/pinctrl/pinctrl-digicolor.c | 9 +++++---- > 2 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig > index 476f3cbbdce0..1e44708201ad 100644 > --- a/drivers/pinctrl/Kconfig > +++ b/drivers/pinctrl/Kconfig > @@ -170,7 +170,7 @@ config PINCTRL_DA9062 > > config PINCTRL_DIGICOLOR > bool > - depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST) > + depends on ARCH_DIGICOLOR || COMPILE_TEST > select PINMUX > select GENERIC_PINCONF > > diff --git a/drivers/pinctrl/pinctrl-digicolor.c b/drivers/pinctrl/pinctrl-digicolor.c > index 05213261b8a4..a0423172bdd6 100644 > --- a/drivers/pinctrl/pinctrl-digicolor.c > +++ b/drivers/pinctrl/pinctrl-digicolor.c > @@ -11,18 +11,19 @@ > * - Pin pad configuration (pull up/down, strength) > */ > > +#include > #include > -#include > -#include > -#include > #include > -#include > +#include > +#include > #include > + > #include > #include > #include > #include > #include > + > #include "pinctrl-utils.h" > > #define DRIVER_NAME "pinctrl-digicolor" -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel