All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: linux-i2c@vger.kernel.org
Cc: Wolfram Sang <wsa@the-dreams.de>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/4] input: mcs: move header file out of I2C realm
Date: Sun, 21 May 2017 22:40:10 +0200	[thread overview]
Message-ID: <20170521204013.6623-3-wsa@the-dreams.de> (raw)
In-Reply-To: <20170521204013.6623-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>
---
 drivers/input/keyboard/mcs_touchkey.c  | 2 +-
 drivers/input/touchscreen/mcs5000_ts.c | 2 +-
 include/linux/{i2c => input}/mcs.h     | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename include/linux/{i2c => input}/mcs.h (100%)

diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c
index 31090d71a685d1..7781ca28c54190 100644
--- a/drivers/input/keyboard/mcs_touchkey.c
+++ b/drivers/input/keyboard/mcs_touchkey.c
@@ -13,7 +13,7 @@
 
 #include <linux/module.h>
 #include <linux/i2c.h>
-#include <linux/i2c/mcs.h>
+#include <linux/input/mcs.h>
 #include <linux/interrupt.h>
 #include <linux/input.h>
 #include <linux/irq.h>
diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c
index 90fc07dc98a6bb..53f45ea161192b 100644
--- a/drivers/input/touchscreen/mcs5000_ts.c
+++ b/drivers/input/touchscreen/mcs5000_ts.c
@@ -15,7 +15,7 @@
 
 #include <linux/module.h>
 #include <linux/i2c.h>
-#include <linux/i2c/mcs.h>
+#include <linux/input/mcs.h>
 #include <linux/interrupt.h>
 #include <linux/input.h>
 #include <linux/irq.h>
diff --git a/include/linux/i2c/mcs.h b/include/linux/input/mcs.h
similarity index 100%
rename from include/linux/i2c/mcs.h
rename to include/linux/input/mcs.h
-- 
2.11.0

  parent reply	other threads:[~2017-05-21 20:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-21 20:40 [PATCH 0/4] input: move include files out of include/linux/i2c Wolfram Sang
2017-05-21 20:40 ` Wolfram Sang
2017-05-21 20:40 ` [PATCH 1/4] input: lm8323: move header file out of I2C realm Wolfram Sang
2017-05-21 20:40 ` Wolfram Sang [this message]
2017-05-21 20:40 ` [PATCH 3/4] input: mms114: " Wolfram Sang
2017-05-21 20:40 ` [PATCH 4/4] input: tsc2007: " Wolfram Sang
2017-05-21 20:40   ` Wolfram Sang
2017-05-22  7:41   ` Lee Jones
2017-05-22  7:41     ` Lee Jones
2017-05-22 20:54     ` Dmitry Torokhov
2017-05-22 20:54       ` Dmitry Torokhov

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=20170521204013.6623-3-wsa@the-dreams.de \
    --to=wsa@the-dreams.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.