diff options
| author | Brian Masney <masneyb@onstation.org> | 2016-09-26 20:20:16 -0400 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-01 14:43:59 +0100 |
| commit | f3b0deea89039373f0d22eafd1ff65a36e957266 (patch) | |
| tree | 1514d4eaafd2220522e1c55bab32884ea3da8230 /scripts/objdiff | |
| parent | a9a0d64a8b7af406f03b660cbad948cfd34ed2b0 (diff) | |
| download | cachepc-linux-f3b0deea89039373f0d22eafd1ff65a36e957266.tar.gz cachepc-linux-f3b0deea89039373f0d22eafd1ff65a36e957266.zip | |
include: linux: iio: add IIO_ATTR_{RO, WO, RW} and IIO_DEVICE_ATTR_{RO, WO, RW} macros
Add new macros: IIO_ATTR_RO, IIO_ATTR_WO, IIO_ATTR_RW,
IIO_DEVICE_ATTR_RO, IIO_DEVICE_ATTR_WO and IIO_DEVICE_ATTR_RW to reduce
the amount of boiler plate code that is needed for creating new
attributes. This mimics the *_RO, *_WO, and *_RW macros that are found
in include/linux/device.h and include/linux/sysfs.h.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
