Skip to content

iio: accel: Abandon of_match_ptr macro

Nishant Malpani linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: accel: dmard06: Use mod_devicetable.h and drop of_match_ptr macrodrivers/iio/accel/dmard06.c+2 -11 reply
2/3iio: accel: kxsd9-i2c: Use mod_devicetable.h and drop of_match_ptr macrodrivers/iio/accel/kxsd9-i2c.c+2 -51 reply
3/3iio: accel: mma8452: Drop of_match_ptr macrodrivers/iio/accel/mma8452.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] iio: accel: Abandon of_match_ptr macro

This patchset extends Jonathan's and Alexandru's work [1] on removing the instances of of_match_ptr macro. Motivation to do so is two-fold:
1. to have an option of probing from ACPI using PRP0001
2. prevent people from copying to new driver code

[1] https://patchwork.kernel.org/cover/11497535/

Nishant Malpani (3):
iio: accel: dmard06: Use mod_devicetable.h and drop of_match_ptr macro
iio: accel: kxsd9-i2c: Use mod_devicetable.h and drop of_match_ptr
macro
iio: accel: mma8452: Drop of_match_ptr macro

 drivers/iio/accel/dmard06.c   | 3 ++-
 drivers/iio/accel/kxsd9-i2c.c | 7 ++-----
 drivers/iio/accel/mma8452.c   | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)
Signature · 1 line
2.20.1