History

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

Linus Torvalds committed 7 years ago

Commit eed48972 parents 6f51092 cd1b7721 file · +0 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/device.h+0−2
@@ -49,8 +49,6 @@ struct bus_attribute { · 48 unmodified lines
4949 ssize_t (*store)(struct bus_type *bus, const char *buf, size_t count);
5050 };
5151
52−#define BUS_ATTR(_name, _mode, _show, _store) \
53− struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store)
5452 #define BUS_ATTR_RW(_name) \
5553 struct bus_attribute bus_attr_##_name = __ATTR_RW(_name)
5654 #define BUS_ATTR_RO(_name) \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t