All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] iio:accel: Header Cleanups.
@ 2021-06-11 17:13 Jonathan Cameron
  2021-06-11 17:13 ` [PATCH 01/12] iio:accel:adxl372: Cleanup includes Jonathan Cameron
                   ` (13 more replies)
  0 siblings, 14 replies; 25+ messages in thread
From: Jonathan Cameron @ 2021-06-11 17:13 UTC (permalink / raw)
  To: linux-iio
  Cc: Jonathan Cameron, Andy Shevchenko, Aleksei Mamlin, Dan Robertson,
	Hans de Goede, Harinath Nampally, Jelle van der Waa,
	Jonathan Bakker, Lars-Peter Clausen, Linus Walleij,
	Michael Hennerich, Mike Looijmans, Sean Nyekjaer, Tomas Melin

From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

0-day recently started running the include-what-you-use checker with LLVM builds.
After it identified a header we should have dropped in a particular patch,
I decided to experiment with it a little and see if it was useful for tidying
up includes that have gotten rather out of sync with the code over the years.

Note the tool is something I'd only advocate using to give you hints on what
might want adjusting so each of these was done by hand inspection.

I've grouped them by manufacturer as otherwise we would have a lot of patches.
Note that the big 'many device / device type' drivers have been done separately
so you won't see them in this series.

I'm rather hoping this approach may ease getting reviews of these, but we
shall see.  If people have time to look at ones I haven't directly cc'd them
on that would be great. There are some drivers touched in here where I don't
know of a current maintainer.

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Aleksei Mamlin <mamlinav@gmail.com>
Cc: Dan Robertson <dan@dlrobertson.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Harinath Nampally <harinath922@gmail.com>
Cc: Jelle van der Waa <jelle@vdwaa.nl>
Cc: Jonathan Bakker <xc-racer2@live.ca>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Michael Hennerich <Michael.Hennerich@analog.com>
Cc: Mike Looijmans <mike.looijmans@topic.nl>
Cc: Sean Nyekjaer <sean@geanix.com>
Cc: Tomas Melin <tomas.melin@vaisala.com>

Jonathan Cameron (12):
  iio:accel:adxl372: Cleanup includes
  iio:accel:bma180: Use generic device properties.
  iio:accel:bosch drivers: Cleanup includes
  iio:accel:miramems drivers: Cleanup headers
  iio:accel:domintech: Cleanup includes.
  iio:accel:fxls8962af: Add a few missing includes.
  iio:accel:kionix drivers: Cleanup includes
  iio:accel:mc3220: Cleanup includes.
  iio:accel:freescale drivers: Cleanup includes
  iio:accel:memsic drivers: Cleanup includes
  iio:accel:murata/vti drivers: Include cleanups for the sca**** parts.
  iio:accel:sensortek drivers: Add some includes

 drivers/iio/accel/adxl372.c           |  4 ++--
 drivers/iio/accel/adxl372.h           |  2 ++
 drivers/iio/accel/adxl372_spi.c       |  3 +--
 drivers/iio/accel/bma180.c            | 11 +++++------
 drivers/iio/accel/bma220_spi.c        |  2 +-
 drivers/iio/accel/bma400_core.c       |  1 -
 drivers/iio/accel/bma400_spi.c        |  1 -
 drivers/iio/accel/bmc150-accel-core.c |  1 +
 drivers/iio/accel/bmc150-accel-spi.c  |  1 -
 drivers/iio/accel/bmi088-accel-core.c |  3 ---
 drivers/iio/accel/bmi088-accel-spi.c  |  3 ++-
 drivers/iio/accel/da280.c             |  3 +--
 drivers/iio/accel/da311.c             |  4 ++--
 drivers/iio/accel/dmard06.c           |  4 +++-
 drivers/iio/accel/dmard09.c           |  2 ++
 drivers/iio/accel/dmard10.c           |  2 +-
 drivers/iio/accel/fxls8962af-core.c   |  3 ++-
 drivers/iio/accel/kxcjk-1013.c        |  4 +++-
 drivers/iio/accel/kxsd9-i2c.c         |  3 ---
 drivers/iio/accel/kxsd9-spi.c         |  5 +----
 drivers/iio/accel/kxsd9.c             |  1 -
 drivers/iio/accel/kxsd9.h             |  2 ++
 drivers/iio/accel/mc3230.c            |  2 +-
 drivers/iio/accel/mma7455_core.c      |  3 ++-
 drivers/iio/accel/mma7455_i2c.c       |  1 +
 drivers/iio/accel/mma7455_spi.c       |  1 +
 drivers/iio/accel/mma7660.c           |  3 +++
 drivers/iio/accel/mma8452.c           |  5 +++++
 drivers/iio/accel/mma9551.c           |  7 ++++---
 drivers/iio/accel/mma9551_core.h      |  2 ++
 drivers/iio/accel/mma9553.c           |  6 ++++--
 drivers/iio/accel/mxc4005.c           |  4 ++++
 drivers/iio/accel/mxc6255.c           |  5 ++---
 drivers/iio/accel/sca3000.c           |  5 ++---
 drivers/iio/accel/sca3300.c           |  3 ++-
 drivers/iio/accel/stk8312.c           |  3 +++
 drivers/iio/accel/stk8ba50.c          |  2 ++
 37 files changed, 69 insertions(+), 48 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-06-15 13:16 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 17:13 [PATCH 00/12] iio:accel: Header Cleanups Jonathan Cameron
2021-06-11 17:13 ` [PATCH 01/12] iio:accel:adxl372: Cleanup includes Jonathan Cameron
2021-06-15 13:16   ` Lars-Peter Clausen
2021-06-11 17:13 ` [PATCH 02/12] iio:accel:bma180: Use generic device properties Jonathan Cameron
2021-06-11 21:48   ` Linus Walleij
2021-06-11 17:13 ` [PATCH 03/12] iio:accel:bosch drivers: Cleanup includes Jonathan Cameron
2021-06-11 17:13 ` [PATCH 04/12] iio:accel:miramems drivers: Cleanup headers Jonathan Cameron
2021-06-11 17:13 ` [PATCH 05/12] iio:accel:domintech: Cleanup includes Jonathan Cameron
2021-06-11 17:13 ` [PATCH 06/12] iio:accel:fxls8962af: Add a few missing includes Jonathan Cameron
2021-06-14  5:57   ` Sean Nyekjaer
2021-06-11 17:13 ` [PATCH 07/12] iio:accel:kionix drivers: Cleanup includes Jonathan Cameron
2021-06-11 17:13 ` [PATCH 08/12] iio:accel:mc3220: " Jonathan Cameron
2021-06-11 17:13 ` [PATCH 09/12] iio:accel:freescale drivers: " Jonathan Cameron
2021-06-11 17:13 ` [PATCH 10/12] iio:accel:memsic " Jonathan Cameron
2021-06-11 17:13 ` [PATCH 11/12] iio:accel:murata/vti drivers: Include cleanups for the sca**** parts Jonathan Cameron
2021-06-14  7:15   ` Tomas Melin
2021-06-11 17:13 ` [PATCH 12/12] iio:accel:sensortek drivers: Add some includes Jonathan Cameron
2021-06-11 17:48 ` [PATCH 00/12] iio:accel: Header Cleanups Andy Shevchenko
2021-06-11 18:23   ` Jonathan Cameron
2021-06-11 18:35     ` Andy Shevchenko
2021-06-11 19:19       ` Jonathan Cameron
2021-06-11 19:36         ` Andy Shevchenko
2021-06-11 20:10           ` Jonathan Cameron
2021-06-15  9:13             ` Rong Chen
2021-06-15 13:12 ` Lars-Peter Clausen

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.