public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@codeaurora.org>
To: Mike Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	Ken Xue <Ken.Xue@amd.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Subject: [PATCH 5/7] ACPI: Remove clk.h include
Date: Fri, 10 Jul 2015 16:03:27 -0700	[thread overview]
Message-ID: <1436569409-27964-6-git-send-email-sboyd@codeaurora.org> (raw)
In-Reply-To: <1436569409-27964-1-git-send-email-sboyd@codeaurora.org>

Clock provider drivers generally shouldn't include clk.h because
it's the consumer API. Remove the includes here because these are
provider drivers.

Cc: Ken Xue <Ken.Xue@amd.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---

Please ack so this can go through clk-tree. Otherwise it's ok
to go through the acpi tree.

 drivers/acpi/acpi_apd.c  | 1 -
 drivers/acpi/acpi_lpss.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
index 3984ea96e5f7..a450e7af877c 100644
--- a/drivers/acpi/acpi_apd.c
+++ b/drivers/acpi/acpi_apd.c
@@ -16,7 +16,6 @@
 #include <linux/clkdev.h>
 #include <linux/acpi.h>
 #include <linux/err.h>
-#include <linux/clk.h>
 #include <linux/pm.h>
 
 #include "internal.h"
diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
index 569ee090343f..6817b18ed722 100644
--- a/drivers/acpi/acpi_lpss.c
+++ b/drivers/acpi/acpi_lpss.c
@@ -11,7 +11,6 @@
  */
 
 #include <linux/acpi.h>
-#include <linux/clk.h>
 #include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/err.h>
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


  parent reply	other threads:[~2015-07-10 23:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10 23:03 [PATCH 0/7] Remove clk.h from clk-provider.h (non-clk drivers part) Stephen Boyd
2015-07-10 23:03 ` [PATCH 1/7] powerpc/512x: clk: Include clk.h Stephen Boyd
2015-07-11  6:48   ` Anatolij Gustschin
2015-07-10 23:03 ` [PATCH 2/7] staging: clocking-wizard: " Stephen Boyd
2015-07-13 16:54   ` Sören Brinkmann
2015-07-15  2:36   ` Greg Kroah-Hartman
2015-07-10 23:03 ` [PATCH 3/7] spi: spi-pxa2xx: Remove clk.h include Stephen Boyd
2015-07-10 23:03 ` [PATCH 4/7] clocksource: cadence_ttc: Remove clk-provider.h include Stephen Boyd
2015-07-16 11:07   ` Daniel Lezcano
2015-07-16 18:21     ` Stephen Boyd
2015-08-03 15:56   ` Daniel Lezcano
2015-07-10 23:03 ` Stephen Boyd [this message]
2015-07-10 23:03 ` [PATCH 6/7] simplefb: Include clk.h Stephen Boyd
2015-07-12 10:40   ` Geert Uytterhoeven
2015-08-20  9:09   ` Tomi Valkeinen
2015-07-10 23:03 ` [PATCH 7/7] lib/vsprintf.c: " Stephen Boyd
2015-07-12 10:39   ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436569409-27964-6-git-send-email-sboyd@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=Ken.Xue@amd.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mturquette@baylibre.com \
    --cc=rafael.j.wysocki@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox