driver core: drop use of BUS_ATTR()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Oct 2018 15:31:26 +0000 (16:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jan 2019 14:18:55 +0000 (15:18 +0100)
commita4723041857eaa35f189d237da769c4c63235544
tree31ba3b59cadb8f3e0488e0dd221edb047099c343
parent2e7189b6c774adc6b848808286b14d0825dc9d1a
driver core: drop use of BUS_ATTR()

We are trying to get rid of BUS_ATTR() so drop the last user of it from
the tree.  We had to "open code" it in order to prevent a function name
conflict due to the use of DEVICE_ATTR_WO() earlier in the file :(

Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c