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>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sh@vger.kernel.org
Subject: [PATCH 0/4] input: move include files out of include/linux/i2c
Date: Sun, 21 May 2017 20:40:08 +0000	[thread overview]
Message-ID: <20170521204013.6623-1-wsa@the-dreams.de> (raw)

It doesn't make sense to use include/linux/i2c for client drivers which may in
fact rather be hwmon or input or whatever devices. As a result, I want to
deprecate include/linux/i2c for good. This series moves the include files to a
better location, for the input subsystem to include/linux/input. If you prefer
include/linux/platform_data, because that is what most of the moved include
files contain, let me know. Note that some files don't seem to have upstream
users in board code, so they maybe could even be removed? I didn't check for
that now, but I did it for one i2c master driver recently. So, it may be
possible.

I prefer the series to go upstream via the subsystem tree; if you prefer that I
take it via I2C, just let me know.

No runtime testing because of no HW, but buildbot is happy with this series at
least. A branch can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/platform_data

Thanks and kind regards,

   Wolfram


Wolfram Sang (4):
  input: lm8323: move header file out of I2C realm
  input: mcs: move header file out of I2C realm
  input: mms114: move header file out of I2C realm
  input: tsc2007: move header file out of I2C realm

 arch/sh/boards/mach-ecovec24/setup.c     | 2 +-
 drivers/input/keyboard/lm8323.c          | 2 +-
 drivers/input/keyboard/mcs_touchkey.c    | 2 +-
 drivers/input/touchscreen/mcs5000_ts.c   | 2 +-
 drivers/input/touchscreen/mms114.c       | 2 +-
 drivers/input/touchscreen/tsc2007_core.c | 2 +-
 drivers/mfd/timberdale.c                 | 2 +-
 include/linux/{i2c => input}/lm8323.h    | 0
 include/linux/{i2c => input}/mcs.h       | 0
 include/linux/{i2c => input}/mms114.h    | 0
 include/linux/{i2c => input}/tsc2007.h   | 2 +-
 11 files changed, 8 insertions(+), 8 deletions(-)
 rename include/linux/{i2c => input}/lm8323.h (100%)
 rename include/linux/{i2c => input}/mcs.h (100%)
 rename include/linux/{i2c => input}/mms114.h (100%)
 rename include/linux/{i2c => input}/tsc2007.h (95%)

-- 
2.11.0


WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@the-dreams.de>
To: linux-i2c@vger.kernel.org
Cc: Wolfram Sang <wsa@the-dreams.de>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-sh@vger.kernel.org
Subject: [PATCH 0/4] input: move include files out of include/linux/i2c
Date: Sun, 21 May 2017 22:40:08 +0200	[thread overview]
Message-ID: <20170521204013.6623-1-wsa@the-dreams.de> (raw)

It doesn't make sense to use include/linux/i2c for client drivers which may in
fact rather be hwmon or input or whatever devices. As a result, I want to
deprecate include/linux/i2c for good. This series moves the include files to a
better location, for the input subsystem to include/linux/input. If you prefer
include/linux/platform_data, because that is what most of the moved include
files contain, let me know. Note that some files don't seem to have upstream
users in board code, so they maybe could even be removed? I didn't check for
that now, but I did it for one i2c master driver recently. So, it may be
possible.

I prefer the series to go upstream via the subsystem tree; if you prefer that I
take it via I2C, just let me know.

No runtime testing because of no HW, but buildbot is happy with this series at
least. A branch can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/platform_data

Thanks and kind regards,

   Wolfram


Wolfram Sang (4):
  input: lm8323: move header file out of I2C realm
  input: mcs: move header file out of I2C realm
  input: mms114: move header file out of I2C realm
  input: tsc2007: move header file out of I2C realm

 arch/sh/boards/mach-ecovec24/setup.c     | 2 +-
 drivers/input/keyboard/lm8323.c          | 2 +-
 drivers/input/keyboard/mcs_touchkey.c    | 2 +-
 drivers/input/touchscreen/mcs5000_ts.c   | 2 +-
 drivers/input/touchscreen/mms114.c       | 2 +-
 drivers/input/touchscreen/tsc2007_core.c | 2 +-
 drivers/mfd/timberdale.c                 | 2 +-
 include/linux/{i2c => input}/lm8323.h    | 0
 include/linux/{i2c => input}/mcs.h       | 0
 include/linux/{i2c => input}/mms114.h    | 0
 include/linux/{i2c => input}/tsc2007.h   | 2 +-
 11 files changed, 8 insertions(+), 8 deletions(-)
 rename include/linux/{i2c => input}/lm8323.h (100%)
 rename include/linux/{i2c => input}/mcs.h (100%)
 rename include/linux/{i2c => input}/mms114.h (100%)
 rename include/linux/{i2c => input}/tsc2007.h (95%)

-- 
2.11.0

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

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-21 20:40 Wolfram Sang [this message]
2017-05-21 20:40 ` [PATCH 0/4] input: move include files out of include/linux/i2c 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 ` [PATCH 2/4] input: mcs: " Wolfram Sang
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-1-wsa@the-dreams.de \
    --to=wsa@the-dreams.de \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@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.