Skip to content

iio: magnetometer: bmc150: use FIELD_PREP and FIELD_GET helpers

Hungyu Lin linux-iio lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 3 repliesIn review
  2. v52 patches 0 repliesSuperseded
  3. v42 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v31 patch3 repliesSuperseded
v21 patch1 replySuperseded

Changes in v6 from the cover letter

- Group linux/*.h and linux/iio/*.h includes separately as suggested by Andy Shevchenko

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: magnetometer: bmc150: sort includesdrivers/iio/magnetometer/bmc150_magn.c+9 -80 replies
2/2iio: magnetometer: bmc150: use FIELD_PREP and FIELD_GET helpersdrivers/iio/magnetometer/bmc150_magn.c+15 -182 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] iio: magnetometer: bmc150: use FIELD_PREP and FIELD_GET helpers

v6:
- Group linux/*.h and linux/iio/*.h includes separately as suggested by Andy Shevchenko

v5:
- Remove the extra blank line in bmc150_magn_get_odr() that was inadvertently retained in v4

v4:
- Split include sorting into a separate prerequisite patch

v3:
- Add missing include <linux/bitfield.h>

v2:
- Use FIELD_PREP() and FIELD_GET() helpers as suggested by Jonathan Cameron
- Simplify bmc150_magn_set_odr() by returning directly from the matching table entry

Hungyu Lin (2):
iio: magnetometer: bmc150: sort includes
iio: magnetometer: bmc150: use FIELD_PREP and FIELD_GET helpers

 drivers/iio/magnetometer/bmc150_magn.c | 50 +++++++++++++-------------
 1 file changed, 24 insertions(+), 26 deletions(-)
Signature · 1 line
2.34.1