Skip to content

staging: iio: tsl2x7x: staging cleanups

Brian Masney linux-iio lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13staging: iio: tsl2x7x: migrate *_thresh_period sysfs attributes to iio_event_specdrivers/staging/iio/light/tsl2x7x.c+52 -1441 reply
2/13staging: iio: tsl2x7x: remove unused tsl2x7x_parse_result structuredrivers/staging/iio/light/tsl2x7x.c+0 -51 reply
3/13staging: iio: tsl2x7x: sort #includesdrivers/staging/iio/light/tsl2x7x.c+5 -51 reply
4/13staging: iio: tsl2x7x: remove unnecessary struct iio_dev definitiondrivers/staging/iio/light/tsl2x7x.h+0 -21 reply
5/13staging: iio: tsl2x7x: changed #defines to be aligned on the same columndrivers/staging/iio/light/tsl2x7x.c+66 -661 reply
6/13staging: iio: tsl2x7x: convert in_proximity0_calibscale_available to use IIO_CONST_ATTRdrivers/staging/iio/light/tsl2x7x.c+4 -111 reply
7/13staging: iio: tsl2x7x: remove unnecessary parenthesesdrivers/staging/iio/light/tsl2x7x.c+8 -81 reply
8/13staging: iio: tsl2x7x: correct alignment of parenthesisdrivers/staging/iio/light/tsl2x7x.c+8 -91 reply
9/13staging: iio: tsl2x7x: correct alignment of parenthesisdrivers/staging/iio/light/tsl2x7x.c+18 -171 reply
10/13staging: iio: tsl2x7x: rename power defines to improve code readabilitydrivers/staging/iio/light/tsl2x7x.c+5 -51 reply
11/13staging: iio: tsl2x7x: fix alignment of break statementsdrivers/staging/iio/light/tsl2x7x.c+2 -21 reply
12/13staging: iio: tsl2x7x: put function definitions on a single linedrivers/staging/iio/light/tsl2x7x.c+3 -51 reply
13/13staging: iio: tsl2x7x: add goto for TSL2X7X_LUX_CALC_OVER_FLOWdrivers/staging/iio/light/tsl2x7x.c+4 -52 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/13] staging: iio: tsl2x7x: staging cleanups

Here are some cleanup patches to work towards eventually moving this driver out of staging. The most interesting changes are converting in_intensity0_thresh_period and in_proximity0_thresh_period to be created by the IIO core instead of directly by the driver. The rest of the changes are trivial code cleanups to improve code readability that will be required for a staging graduation:

- Convert in_proximity0_calibscale_available to IIO_CONST_ATTR
- Remove unused structures
- Sort #includes
- Remove unnecessary parentheses
- Code alignment cleanups

Brian Masney (13):
staging: iio: tsl2x7x: migrate *_thresh_period sysfs attributes to
iio_event_spec
staging: iio: tsl2x7x: remove unused tsl2x7x_parse_result structure
staging: iio: tsl2x7x: sort #includes
staging: iio: tsl2x7x: remove unnecessary struct iio_dev definition
staging: iio: tsl2x7x: changed #defines to be aligned on the same
column
staging: iio: tsl2x7x: convert in_proximity0_calibscale_available to
use IIO_CONST_ATTR
staging: iio: tsl2x7x: remove unnecessary parentheses
staging: iio: tsl2x7x: correct alignment of parenthesis
staging: iio: tsl2x7x: correct alignment of parenthesis
staging: iio: tsl2x7x: rename power defines to improve code
readability
staging: iio: tsl2x7x: fix alignment of break statements
staging: iio: tsl2x7x: put function definitions on a single line
staging: iio: tsl2x7x: add goto for TSL2X7X_LUX_CALC_OVER_FLOW

 drivers/staging/iio/light/tsl2x7x.c | 447 ++++++++++++++----------------------
 drivers/staging/iio/light/tsl2x7x.h |   2 -
 2 files changed, 170 insertions(+), 279 deletions(-)
Signature · 1 line
2.13.6