Driver core patch for 5.1-rc3
Here is a single driver core patch for 5.1-rc3. After 5.1-rc1, all of the users of BUS_ATTR() are finally removed, so we can now drop this macro from include/linux/device.h so that no more new users will be created. This patch has been in linux-next for a while, with no reported issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -----BEGIN PGP SIGNATURE----- iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCXJ5skg8cZ3JlZ0Brcm9h aC5jb20ACgkQMUfUDdst+ylp3wCfT73IbPPjeSxWZjyPLOBiz31YfTEAnjajShZl gQk7H0O5Ovv5ntsyk0bM =CRS4 -----END PGP SIGNATURE----- Merge tag 'driver-core-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core Pull driver core fix from Greg KH: "Here is a single driver core patch for 5.1-rc3. After 5.1-rc1, all of the users of BUS_ATTR() are finally removed, so we can now drop this macro from include/linux/device.h so that no more new users will be created. This patch has been in linux-next for a while, with no reported issues" * tag 'driver-core-5.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: driver core: remove BUS_ATTR()
This commit is contained in:
commit
eed4897dfe
|
@ -49,8 +49,6 @@ struct bus_attribute {
|
|||
ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
|
||||
};
|
||||
|
||||
#define BUS_ATTR(_name, _mode, _show, _store) \
|
||||
struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store)
|
||||
#define BUS_ATTR_RW(_name) \
|
||||
struct bus_attribute bus_attr_##_name = __ATTR_RW(_name)
|
||||
#define BUS_ATTR_RO(_name) \
|
||||
|
|
Loading…
Reference in New Issue