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 2BD14C54EBE for ; Thu, 12 Jan 2023 18:49:09 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wlWATPy6dAc69YwhtpLWB1dExTLYxoJoc+AAXK06acs=; b=EUo/psPrA6wQ0Z ASJvlwKpdweCb+7B3P3J/RBgrBFWbjmE5jfZdaaMrsSE5KVsgzt7Rm3I5CMiE05ofyV/gq+l8LVsx xS4F5ZhINFIV4iCAB40x+EUYHJgkT4to7eGar5hYmaV21G3fCDrMF41FvraxbFoD4o+qJ+nzOWvew Muhq4r8pWlvE4GoXzGmztHFpN0oJHVXd8zbTJz5iLfZgmvtUKc/dAQoDN0cYLvmjfB6b8bhTV3SAI fkqfGthCdIRc2WEiKqsjjHRyPhTP9yfPSu6oFckhBd+gFUQiIDsEf4iDVjS8VE0Dnm9jA6rnHNjOy 1qt8femk4qOMSWiwPnHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG2cX-00GLKT-M9; Thu, 12 Jan 2023 18:48:13 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG2cL-00GLGT-O1 for linux-arm-kernel@lists.infradead.org; Thu, 12 Jan 2023 18:48:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673549281; x=1705085281; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ISG4iMQCmJbQyOjDtFzJuWJ6r9CraDTaJ1v4LxJL5H8=; b=U+4S1YLnKRWFzpKxjS0q6+hY1SOIR02SlTr5UAQE8JHyhb7iZc/EnBRa kHOjNXaOeOCv42ozffgKPEtVS8hq4r+nvETUqUcv4lcb66ouUdbGnjjF9 Cr5bp8BaTgN6sl7ycJf0pSSHq+NisLZrBwujhdZtb1cffPDDlrV0mDV7b At8O7/Jf5D9I6K2kl7IRttf7OSxtWxL/FQf9tbUQT4HKYUGGVGMJLlypd I2PvWpM4TriZ2w4tSN8vf/sRMAHIc9yIejxp9Xful11MUl8Qow1P682E9 0ptPUnnQnILEYLbXCQnewgMdnepmbG9/ArO1jeeOktlxM8CDrCwcP29/i Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="351021827" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="351021827" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 10:47:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="800333026" X-IronPort-AV: E=Sophos;i="5.97,211,1669104000"; d="scan'208";a="800333026" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 12 Jan 2023 10:47:56 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 562691A3; Thu, 12 Jan 2023 20:48:30 +0200 (EET) From: Andy Shevchenko To: Linus Walleij , Jianlong Huang , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Baruch Siach Subject: [PATCH v1 2/2] pinctrl: digicolor: Use proper headers and drop OF dependency Date: Thu, 12 Jan 2023 20:48:23 +0200 Message-Id: <20230112184823.80349-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230112184823.80349-1-andriy.shevchenko@linux.intel.com> References: <20230112184823.80349-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_104801_814906_8B8EE0CD X-CRM114-Status: GOOD ( 15.37 ) 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 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 --- 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" -- 2.39.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel