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

From: Himanshi Jain
Date: Wed Sep 13 2017 - 03:54:55 EST


This patchset is to rewrite the IIO_DEVICE_ATTR_NAMED API to pass name
as string.

Himanshi Jain (2):
include: linux: sysfs: Add __ATTR_NAMED macro
iio: Use __ATTR_NAMED to allow passing name as string to
IIO_DEVICE_ATTR_NAMED and change usage to pass string

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