Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp674475imu; Wed, 23 Jan 2019 03:44:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN7AplZEdU3rmkrAMRyyDBvOWe/PJ2ys0zomgoUkKcdkK5OVKGtPws0qltxXBa4WBJhL28oo X-Received: by 2002:a63:b34f:: with SMTP id x15mr1681394pgt.243.1548243847033; Wed, 23 Jan 2019 03:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548243846; cv=none; d=google.com; s=arc-20160816; b=RLwscvnylBXvvPY8rLcUR5/++40xOk7eSTmmR08wR3+A6CJKtlxUdLazl1/5TODx69 YkKMIUcs+180Or9sGuKsLtk8aMcwM8sdsZGJZgnqyvnmY+2aSDWTOAWk4LSC2SO7KhNT RxHM6CFL0GQpvZNlS1S0XJpCW/wB8GxAH8pP9TBemtg7sOVXHVjXGuqAx2Jc7e0kFVI3 72FNzAEK7ZoX9Y2FFWooKtx/7THa8X+GsWqWCw1pSCio+tWQWXJa45KZcq+EuuO1t4SJ L3EOghpzrQbM2uDsyIZi6iOCczJMrfNc92OGKg/uhNEt0gUoE28JcvT2WeYgsN99vCa9 xPEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hQq6SyvQHBvH+SMB5WkwMoLuCIVGvJHxI7aOk4tH19A=; b=ZT2Qx1DXRJ/40wAgos1BuUsdx9qkGsI0PSH1qT2QKh0bjszcZV/XyBh82tRI70mBQj 26G6tTlbPcGaBCBneIDP5zxE2+0dUai5SVkE13hxUS85Wj4HFoc+HZ2xoycwg7BraCi9 4v3VZknkdLKcEHQl8fYMoEI6hkkWnElCdWHhWwRVX1l5NPLFLhC/2iLEKbjfcY9a7QJh jkWjmQiEp2Xn8wY0TIbO/Ak9tNGF5xnd5GL4/TbfQan9NIwjqmsPSagHxkLKj/vbJAZk zsqvYAuUHG19FQWkzD9o9ZwPxrj06KfeEfyGqN/I9XtgNByKbOrCeNtwN7+01rvDb9O0 HLvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b28si17534815pgm.409.2019.01.23.03.43.51; Wed, 23 Jan 2019 03:44:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727505AbfAWLm1 (ORCPT + 99 others); Wed, 23 Jan 2019 06:42:27 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:49494 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbfAWLm0 (ORCPT ); Wed, 23 Jan 2019 06:42:26 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0NBctbT005338; Wed, 23 Jan 2019 05:42:11 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=rf@opensource.cirrus.com Received: from mail3.cirrus.com ([87.246.76.56]) by mx0b-001ae601.pphosted.com with ESMTP id 2q416tqysm-1; Wed, 23 Jan 2019 05:42:11 -0600 Received: from EX17.ad.cirrus.com (ex17.ad.cirrus.com [172.20.9.81]) by mail3.cirrus.com (Postfix) with ESMTP id BC57E611C8B1; Wed, 23 Jan 2019 05:42:14 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Wed, 23 Jan 2019 11:42:10 +0000 Received: from [198.90.251.142] (edi-sw-dsktp006.ad.cirrus.com [198.90.251.142]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id x0NBg89S026265; Wed, 23 Jan 2019 11:42:08 GMT Subject: Re: [PATCH v2 1/2] pinctrl: remove pinctrl/machine.h inclusion from pinctrl/pinconf.h To: Vladimir Zapolskiy , Linus Walleij CC: , , Laurent Meunier , Masahiro Yamada , Russell King , Charles Keepax References: <20190122211822.7016-1-vz@mleia.com> <20190122211822.7016-2-vz@mleia.com> From: Richard Fitzgerald Message-ID: <5a3eb1b0-5ea0-fdbf-3fe0-66d843d6869a@opensource.cirrus.com> Date: Wed, 23 Jan 2019 11:42:08 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20190122211822.7016-2-vz@mleia.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901230088 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/01/19 21:18, Vladimir Zapolskiy wrote: > The change adds explicit inclusion of linux/pinctrl/machine.h header > to the only needed pinctrl-madera-core.c file, and therefore inclusion > of pinctrl/machine.h header from pinctrl/pinconf.h can be removed. > > The change is preparatory to a follow-up reversal of commit f07512e615dd > ("pinctrl/pinconfig: add debug interface"). > > Signed-off-by: Vladimir Zapolskiy > Cc: Charles Keepax > Cc: Richard Fitzgerald > --- > Changes from v1 to v2: > * new change to mitigate a compile time warning caused by a removal of > implicit header inclusion, the issue was reported against v1 change. > > This change might be percepted as a bit awkward, but I leave a room to > extend it to other drivers, if it becomes needed. However apparently > only pinctrl/cirrus/pinctrl-madera-core.c misses explicit inclusion of > linux/pinctrl/machine.h header. > > drivers/pinctrl/cirrus/pinctrl-madera-core.c | 1 + > include/linux/pinctrl/pinconf.h | 2 -- > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/pinctrl/cirrus/pinctrl-madera-core.c b/drivers/pinctrl/cirrus/pinctrl-madera-core.c > index a5dda832024a..7c9694593f79 100644 > --- a/drivers/pinctrl/cirrus/pinctrl-madera-core.c > +++ b/drivers/pinctrl/cirrus/pinctrl-madera-core.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > #include > #include > #include For the Madera change: Reviewed-by: Richard Fitzgerald > diff --git a/include/linux/pinctrl/pinconf.h b/include/linux/pinctrl/pinconf.h > index 8dd85d302b90..109468d9d849 100644 > --- a/include/linux/pinctrl/pinconf.h > +++ b/include/linux/pinctrl/pinconf.h > @@ -14,8 +14,6 @@ > > #ifdef CONFIG_PINCONF > > -#include > - > struct pinctrl_dev; > struct seq_file; > >