[PATCH v2 0/2] Rewrite the IIO_DEVICE_ATTR_NAMED API to pass name as string.

Himanshi Jain himshijain.hj at gmail.com
Wed Sep 13 08:55:02 UTC 2017


This patchset is to rewrite the IIO_DEVICE_ATTR_NAMED API to pass name
as string. 
Change in v2: 
Split patch into two based on subsytems affected.

Himanshi Jain (2):
  include: linux: sysfs: Add __ATTR_NAMED macro
  iio: Change to __ATTR_NAMED()

 drivers/iio/adc/ad7793.c          | 2 +-
 drivers/staging/iio/adc/ad7192.c  | 2 +-
 drivers/staging/iio/adc/ad7280a.c | 4 ++--
 include/linux/iio/sysfs.h         | 6 +++++-
 include/linux/sysfs.h             | 7 +++++++
 5 files changed, 16 insertions(+), 5 deletions(-)

-- 
1.9.1



More information about the devel mailing list