driver-core: remove struct bus_type.dev_attrs
commitb46c73378c8436c3cd3fa19cead57a645adb0ed0
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 21:12:09 +0000 (23 14:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jun 2017 14:18:37 +0000 (12 16:18 +0200)
tree6accedbe242cd0bcdbb317740592eb1f81f94734
parent205a1ee15d924df412cb8bdefafafc5b53b21153
driver-core: remove struct bus_type.dev_attrs

Now that all in-kernel users of bus_type.dev_attrs have been converted
to use dev_groups instead, the dev_attrs field, and logic surrounding
it, can be removed.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c
include/linux/device.h