Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646428 > unrolled thread

[PATCH 0/2] i2c: move include files out of include/linux/i2c

Started byWolfram Sang <wsa@the-dreams.de>
First post2017-05-21 22:40 +0200
Last post2017-05-21 22:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] i2c: move include files out of include/linux/i2c Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:40 +0200

#1646428 — [PATCH 0/2] i2c: move include files out of include/linux/i2c

FromWolfram Sang <wsa@the-dreams.de>
Date2017-05-21 22:40 +0200
Subject[PATCH 0/2] i2c: move include files out of include/linux/i2c
Message-ID<tJFNT-49M-7@gated-at.bofh.it>
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, largely include/platform_data because that is what most of the
moved include files contain. 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.

And while i2c muxes might be a corner case, I still want to deprecate
include/linux/i2c for good ;)

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 (2):
  i2c: mux: pca954x: move header file out of I2C realm
  i2c: mux: mlxcpld: move header file out of I2C realm

 drivers/i2c/muxes/i2c-mux-mlxcpld.c                | 2 +-
 drivers/i2c/muxes/i2c-mux-pca9541.c                | 2 +-
 drivers/i2c/muxes/i2c-mux-pca954x.c                | 2 +-
 include/linux/{i2c => platform_data}/pca954x.h     | 0
 include/linux/{i2c => platform_data/x86}/mlxcpld.h | 0
 5 files changed, 3 insertions(+), 3 deletions(-)
 rename include/linux/{i2c => platform_data}/pca954x.h (100%)
 rename include/linux/{i2c => platform_data/x86}/mlxcpld.h (100%)

-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web