linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: isch: Remove unnecessary acpi.h include
@ 2019-03-25 18:36 helgaas
  2019-03-31  8:36 ` Jean Delvare
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: helgaas @ 2019-03-25 18:36 UTC (permalink / raw)
  To: Jean Delvare; +Cc: linux-i2c, linux-kernel, Bjorn Helgaas

From: Bjorn Helgaas <bhelgaas@google.com>

54fb4a05af0a ("i2c: Check for ACPI resource conflicts") included
<linux/acpi.h> so we could use acpi_check_region().  fd46a0064af1 ("i2c:
convert i2c-isch to platform_device") removed the use of
acpi_check_region() but not the include.

Remove the now-unnecessary include of <linux/acpi.h>.  No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 drivers/i2c/busses/i2c-isch.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c
index 5c754bf659e2..f64c1d72f73f 100644
--- a/drivers/i2c/busses/i2c-isch.c
+++ b/drivers/i2c/busses/i2c-isch.c
@@ -30,7 +30,6 @@
 #include <linux/ioport.h>
 #include <linux/i2c.h>
 #include <linux/io.h>
-#include <linux/acpi.h>
 
 /* SCH SMBus address offsets */
 #define SMBHSTCNT	(0 + sch_smba)
-- 
2.21.0.392.gf8f6787159e-goog

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-03 22:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-25 18:36 [PATCH] i2c: isch: Remove unnecessary acpi.h include helgaas
2019-03-31  8:36 ` Jean Delvare
2019-03-31  9:31 ` Mukesh Ojha
2019-04-01 13:50 ` Bjorn Helgaas
2019-04-01 14:08   ` Wolfram Sang
2019-04-01 19:37     ` Bjorn Helgaas
2019-04-01 19:45       ` Wolfram Sang
2019-04-03 20:57       ` Wolfram Sang
2019-04-03 22:27         ` Bjorn Helgaas
2019-04-01 15:07   ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).