[PATCH 00/12] IIO: precursor cleanups to even system rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

Other than the first two which are trivial changes that were sitting
in my tree and probably should have been in the last set (but
weren't as I haven't posted them for review before), these are
all about removing incorrect uses of the previous event handling
system.

All of these cases use it to register an interrupt line purely for
the purposes of triggering.  That should always have been done
as a conventional interrupt registration rather than as 'events'.

The reason this happened was todo with the 'unusual' handing used
with the lis3l02dq where a single line serves both purposes.  There
is a much cleaner way of handling that case, but even that isn't
needed here. Basically that mess got cut and paste into a whole
load of drivers and I was lax and didn't shout enough to get
it fixed at the time.

I've been meaning to 'fix' this lot for a while, but it's becoming
important now the code they were abusing is going away.

I haven't tested these as I don't have the vast majority of the
hardware.  Michael, can you take a look at them. I think they
should be functionaly identical to the original code, but I've
been known to mess this sort of patch up before.

Note these are independent of the next couple of sets except
that those sets will break these drivers without these changes.
Hence they can be reviewed separately, but must merge in the
right order!

Thanks,

Jonathan

Jonathan Cameron (12):
  staging:iio:tsl2563 take advantage of new iio_device_allocate private
    data.
  staging:iio:light:tsl2563 constify gain level table.
  staging:iio:adis16300 replace unnecessary event line registration.
  staging:iio:adis16350 replace unnecessary event line registration.
  staging:iio:adis16400 replace unnecessary event line registration.
  staging:iio:adis16260 replace unnecessary event line registration.
  staging:iio:adis16203 replace unnecessary event line registration.
  staging:iio:adis16204 replace unnecessary event line registration.
  staging:iio:adis16201 replace unnecessary event line registration.
  staging:iio:adis16240 replace unnecessary event line registration.
  staging:iio:adis16209 replace unnecessary event line registration.
  staging:iio:ade7758 replace unnecessary event line registration.

 drivers/staging/iio/accel/adis16201_core.c    |   26 +---------
 drivers/staging/iio/accel/adis16201_trigger.c |   45 +++++++---------
 drivers/staging/iio/accel/adis16203_core.c    |   26 +---------
 drivers/staging/iio/accel/adis16203_trigger.c |   46 +++++++---------
 drivers/staging/iio/accel/adis16204_core.c    |   26 +---------
 drivers/staging/iio/accel/adis16204_trigger.c |   46 +++++++---------
 drivers/staging/iio/accel/adis16209_core.c    |   26 +---------
 drivers/staging/iio/accel/adis16209_trigger.c |   45 +++++++---------
 drivers/staging/iio/accel/adis16240_core.c    |   26 +---------
 drivers/staging/iio/accel/adis16240_trigger.c |   46 +++++++---------
 drivers/staging/iio/gyro/adis16260_core.c     |   25 +--------
 drivers/staging/iio/gyro/adis16260_trigger.c  |   46 +++++++---------
 drivers/staging/iio/imu/adis16300_core.c      |   26 +---------
 drivers/staging/iio/imu/adis16300_trigger.c   |   48 +++++++---------
 drivers/staging/iio/imu/adis16350_core.c      |   26 +---------
 drivers/staging/iio/imu/adis16350_trigger.c   |   48 +++++++---------
 drivers/staging/iio/imu/adis16400_core.c      |   26 +---------
 drivers/staging/iio/imu/adis16400_trigger.c   |   47 +++++++---------
 drivers/staging/iio/light/tsl2563.c           |   72 +++++++++++--------------
 drivers/staging/iio/meter/ade7758_core.c      |   30 +---------
 drivers/staging/iio/meter/ade7758_trigger.c   |   48 +++++++---------
 21 files changed, 250 insertions(+), 550 deletions(-)

-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux