Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754648AbaAUXD5 (ORCPT ); Tue, 21 Jan 2014 18:03:57 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:51574 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752698AbaAUXDy (ORCPT ); Tue, 21 Jan 2014 18:03:54 -0500 From: "Rafael J. Wysocki" To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Greg Kroah-Hartman , Pavel Machek , Len Brown , Mark Brown , linux-pm@vger.kernel.org Subject: Re: [PATCH 67/73] drivers/base: delete non-required instances of include Date: Wed, 22 Jan 2014 00:18:03 +0100 Message-ID: <20162122.WfrtF6Mixo@vostro.rjw.lan> User-Agent: KMail/4.11.4 (Linux/3.13.0-rc8+; KDE/4.11.4; x86_64; ; ) In-Reply-To: <1390339396-3479-68-git-send-email-paul.gortmaker@windriver.com> References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> <1390339396-3479-68-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, January 21, 2014 04:23:10 PM Paul Gortmaker wrote: > None of these files are actually using any __init type directives > and hence don't need to include . Most are just a > left over from __devinit and __cpuinit removal, or simply due to > code getting copied from one driver to the next. > > Cc: Greg Kroah-Hartman > Cc: Pavel Machek > Cc: "Rafael J. Wysocki" > Cc: Len Brown > Cc: Mark Brown > Cc: linux-pm@vger.kernel.org > Signed-off-by: Paul Gortmaker Acked-by: Rafael J. Wysocki > --- > drivers/base/attribute_container.c | 1 - > drivers/base/power/clock_ops.c | 1 - > drivers/base/power/common.c | 1 - > drivers/base/power/domain.c | 1 - > drivers/base/power/domain_governor.c | 1 - > drivers/base/power/opp.c | 1 - > drivers/base/regmap/regmap-i2c.c | 1 - > drivers/base/regmap/regmap-mmio.c | 1 - > drivers/base/regmap/regmap-spi.c | 1 - > drivers/base/topology.c | 1 - > 10 files changed, 10 deletions(-) > > diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c > index ecc1929..b84ca8f 100644 > --- a/drivers/base/attribute_container.c > +++ b/drivers/base/attribute_container.c > @@ -12,7 +12,6 @@ > */ > > #include > -#include > #include > #include > #include > diff --git a/drivers/base/power/clock_ops.c b/drivers/base/power/clock_ops.c > index e870bbe..b99e6c0 100644 > --- a/drivers/base/power/clock_ops.c > +++ b/drivers/base/power/clock_ops.c > @@ -6,7 +6,6 @@ > * This file is released under the GPLv2. > */ > > -#include > #include > #include > #include > diff --git a/drivers/base/power/common.c b/drivers/base/power/common.c > index 5da9140..df2e5ee 100644 > --- a/drivers/base/power/common.c > +++ b/drivers/base/power/common.c > @@ -6,7 +6,6 @@ > * This file is released under the GPLv2. > */ > > -#include > #include > #include > #include > diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c > index bfb8955..921b192 100644 > --- a/drivers/base/power/domain.c > +++ b/drivers/base/power/domain.c > @@ -6,7 +6,6 @@ > * This file is released under the GPLv2. > */ > > -#include > #include > #include > #include > diff --git a/drivers/base/power/domain_governor.c b/drivers/base/power/domain_governor.c > index 28dee30..a089e3b 100644 > --- a/drivers/base/power/domain_governor.c > +++ b/drivers/base/power/domain_governor.c > @@ -6,7 +6,6 @@ > * This file is released under the GPLv2. > */ > > -#include > #include > #include > #include > diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c > index fa41874..2553867 100644 > --- a/drivers/base/power/opp.c > +++ b/drivers/base/power/opp.c > @@ -14,7 +14,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/base/regmap/regmap-i2c.c b/drivers/base/regmap/regmap-i2c.c > index fa6bf52..ebd1895 100644 > --- a/drivers/base/regmap/regmap-i2c.c > +++ b/drivers/base/regmap/regmap-i2c.c > @@ -13,7 +13,6 @@ > #include > #include > #include > -#include > > static int regmap_i2c_write(void *context, const void *data, size_t count) > { > diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c > index 81f9775..4410cb2 100644 > --- a/drivers/base/regmap/regmap-mmio.c > +++ b/drivers/base/regmap/regmap-mmio.c > @@ -18,7 +18,6 @@ > > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/base/regmap/regmap-spi.c b/drivers/base/regmap/regmap-spi.c > index 37f12ae..0eb3097 100644 > --- a/drivers/base/regmap/regmap-spi.c > +++ b/drivers/base/regmap/regmap-spi.c > @@ -12,7 +12,6 @@ > > #include > #include > -#include > #include > > #include "internal.h" > diff --git a/drivers/base/topology.c b/drivers/base/topology.c > index 94ffee3..ad9d177 100644 > --- a/drivers/base/topology.c > +++ b/drivers/base/topology.c > @@ -23,7 +23,6 @@ > * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > * > */ > -#include > #include > #include > #include > -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/