[PATCH 4/6] driver core: add DEVICE_ATTR_RW and DEVICE_ATTR_RO macros

2013-07-10 Thread Greg Kroah-Hartman
Make it easier to create attributes without having to always audit the mode settings. Signed-off-by: Greg Kroah-Hartman --- include/linux/device.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/device.h b/include/linux/device.h index bcf8c0d..1d546a0 100644 ---

[PATCH 4/6] driver core: add DEVICE_ATTR_RW and DEVICE_ATTR_RO macros

2013-07-10 Thread Greg Kroah-Hartman
Make it easier to create attributes without having to always audit the mode settings. Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- include/linux/device.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/device.h b/include/linux/device.h index