From: Wolfram Sang <wsa@the-dreams.de>
To: linux-i2c@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-watchdog@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>,
Guenter Roeck <linux@roeck-us.net>,
Lee Jones <lee.jones@linaro.org>,
Wolfram Sang <wsa@the-dreams.de>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: [PATCH v2 1/3] mfd: dm355evm_msp: move header file out of I2C realm
Date: Mon, 14 Aug 2017 18:34:22 +0200 [thread overview]
Message-ID: <20170814163424.2197-2-wsa@the-dreams.de> (raw)
In-Reply-To: <20170814163424.2197-1-wsa@the-dreams.de>
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Change since V1:
* rebased to v4.13-rc5, no changes needed
* acks added. I think none are missing.
drivers/input/misc/dm355evm_keys.c | 2 +-
drivers/mfd/dm355evm_msp.c | 2 +-
drivers/rtc/rtc-dm355evm.c | 2 +-
include/linux/{i2c => mfd}/dm355evm_msp.h | 0
4 files changed, 3 insertions(+), 3 deletions(-)
rename include/linux/{i2c => mfd}/dm355evm_msp.h (100%)
diff --git a/drivers/input/misc/dm355evm_keys.c b/drivers/input/misc/dm355evm_keys.c
index bab256ef32b9b3..c803db64a3760d 100644
--- a/drivers/input/misc/dm355evm_keys.c
+++ b/drivers/input/misc/dm355evm_keys.c
@@ -15,7 +15,7 @@
#include <linux/platform_device.h>
#include <linux/interrupt.h>
-#include <linux/i2c/dm355evm_msp.h>
+#include <linux/mfd/dm355evm_msp.h>
#include <linux/module.h>
diff --git a/drivers/mfd/dm355evm_msp.c b/drivers/mfd/dm355evm_msp.c
index 86eca614507bd8..2a2756709f22f0 100644
--- a/drivers/mfd/dm355evm_msp.c
+++ b/drivers/mfd/dm355evm_msp.c
@@ -18,7 +18,7 @@
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/i2c.h>
-#include <linux/i2c/dm355evm_msp.h>
+#include <linux/mfd/dm355evm_msp.h>
/*
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c
index f225cd873ff6c2..97d8259b94940f 100644
--- a/drivers/rtc/rtc-dm355evm.c
+++ b/drivers/rtc/rtc-dm355evm.c
@@ -13,7 +13,7 @@
#include <linux/rtc.h>
#include <linux/platform_device.h>
-#include <linux/i2c/dm355evm_msp.h>
+#include <linux/mfd/dm355evm_msp.h>
#include <linux/module.h>
diff --git a/include/linux/i2c/dm355evm_msp.h b/include/linux/mfd/dm355evm_msp.h
similarity index 100%
rename from include/linux/i2c/dm355evm_msp.h
rename to include/linux/mfd/dm355evm_msp.h
--
2.11.0
next prev parent reply other threads:[~2017-08-14 16:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 16:34 [PATCH v2 0/3] mfd: move include files out of include/linux/i2c Wolfram Sang
2017-08-14 16:34 ` Wolfram Sang [this message]
2017-08-15 7:01 ` [PATCH v2 1/3] mfd: dm355evm_msp: move header file out of I2C realm Lee Jones
2017-08-15 7:13 ` [GIT PULL] Immutable branch between MFD, Input and RTC due for the v3.14 merge window Lee Jones
2017-08-14 16:34 ` [PATCH v2 2/3] mfd: tps65010: move header file out of I2C realm Wolfram Sang
2017-08-15 8:19 ` Lee Jones
2017-08-15 8:20 ` [GIT PULL] Immutable branch between MFD, ARM, USB and Video due for the v4.14 merge window Lee Jones
2017-08-14 16:34 ` [PATCH v2 3/3] mfd: twl: move header file out of I2C realm Wolfram Sang
2017-08-22 13:06 ` Linus Walleij
[not found] ` <CACRpkdZd1TecLVQA2uPiPM_fWDw1mS2-kpmN06xp=dP4Wh-vYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-27 16:44 ` Guenter Roeck
[not found] ` <20170827164444.GB22819-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2017-09-04 13:43 ` [GIT PULL] Immutable branch between MFD and many other subsystems due for the v4.14 merge window Lee Jones
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=20170814163424.2197-2-wsa@the-dreams.de \
--to=wsa@the-dreams.de \
--cc=alexandre.belloni@free-electrons.com \
--cc=dmitry.torokhov@gmail.com \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
/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;
as well as URLs for NNTP newsgroup(s).