driver core: remove DRIVER_ATTR
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 10:17:57 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2017 07:20:33 +0000 (09:20 +0200)
commit850fdec8d2fd1eebfa003fea39bec08cd69b6155
tree6c5412644403983343d17b5729c13afd70bf6016
parent55e001aabb826c96f09e0a440bdcbce620189dbc
driver core: remove DRIVER_ATTR

DRIVER_ATTR is no longer in use, and driver authors should be using
DRIVER_ATTR_RW() or DRIVER_ATTR_RO() or DRIVER_ATTR_WO() instead in
order to always get the permissions correct.  So remove it so that no
one can use it anymore.

Acked-by: Alan Tull <atull@kernel.org>
Reviewed-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-model/driver.txt
Documentation/filesystems/sysfs.txt
include/linux/device.h