public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Rewrite the IIO_DEVICE_ATTR_NAMED API to pass name as string.
@ 2017-09-13  7:54 Himanshi Jain
  2017-09-13  7:56 ` [PATCH 1/2] include: linux: sysfs: Add __ATTR_NAMED macro Himanshi Jain
  0 siblings, 1 reply; 5+ messages in thread
From: Himanshi Jain @ 2017-09-13  7:54 UTC (permalink / raw)
  To: outreachy-kernel, lars, Michael.Hennerich, jic23, knaack.h,
	pmeerw, gregkh, linux-iio, devel, linux-kernel, nick.desaulniers,
	daniel.baluta

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-13  8:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13  7:54 [PATCH 0/2] Rewrite the IIO_DEVICE_ATTR_NAMED API to pass name as string Himanshi Jain
2017-09-13  7:56 ` [PATCH 1/2] include: linux: sysfs: Add __ATTR_NAMED macro Himanshi Jain
2017-09-13  7:56   ` [PATCH 2/2] iio: Use __ATTR_NAMED to allow passing name as string to IIO_DEVICE_ATTR_NAMED and change usage to pass string Himanshi Jain
2017-09-13  8:12     ` Dan Carpenter
2017-09-13  8:47       ` himanshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox