[lkml]   [2017]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] staging: iio: tsl2x7x: staging cleanups
This patch set converts several sysfs attributes from directly being
created by the driver to be created by iio_chan_spec and iio_event_spec.
There is also a patch to shorten the length of a variable to fix an
issue that I encountered with some lines that were over 80 characters
with this refactoring.

Driver tested using a TSL2771 hooked up to a Raspberry Pi 2.

List of sysfs attributes before and after my changes:

raspberrypi:/sys/bus/iio/devices/iio:device0$ find . -type f | sort

Brian Masney (3):
staging: iio: tsl2x7x: rename tsl2x7x_settings variable to settings
staging: iio: tsl2x7x: migrate in_illuminance0_integration_time sysfs
attribute to iio_chan_spec
staging: iio: tsl2x7x: migrate *_thresh_period sysfs attributes to

drivers/staging/iio/light/tsl2x7x.c | 418 ++++++++++++------------------------
1 file changed, 141 insertions(+), 277 deletions(-)


 \ /
  Last update: 2017-09-30 03:10    [W:0.046 / U:1.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site