Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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()

-2
-2
include/linux/device.h
··· 49 49 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count); 50 50 }; 51 51 52 - #define BUS_ATTR(_name, _mode, _show, _store) \ 53 - struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) 54 52 #define BUS_ATTR_RW(_name) \ 55 53 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name) 56 54 #define BUS_ATTR_RO(_name) \