[PATCH 00/16] Driver core: remove bus_type.dev_attrs
From: Greg Kroah-Hartman
Date: Tue Jun 06 2017 - 15:29:58 EST
These are some patches that have been in my local trees for years, time
to finally get them flushed out.
The struct bus_type has a dev_attrs field, that duplicates the
dev_groups field (dev_groups is newer). This patch series moves the few
remaining users of this field over to use dev_groups, and then finally
removes the dev_attrs field from the structure, and the driver core
logic.
Subsystem maintainers, I'm glad to take this series in my driver core
tree, if you just want to ack your respective patches, that's fine with
me.
This series has passed 0-day so I know it at least builds properly :)
thanks,
greg k-h
Greg Kroah-Hartman (16):
arm: ecard: use dev_groups and not dev_attrs for bus_type
mips: sgi-ip22: ecard: use dev_groups and not dev_attrs for bus_type
parisc: parisc_bus_type: use dev_groups and not dev_attrs for bus_type
amba: use dev_groups and not dev_attrs for bus_type
rpmsg: use dev_groups and not dev_attrs for bus_type
sh: superhyway: use dev_groups and not dev_attrs for bus_type
macintosh: use dev_groups and not dev_attrs for bus_type
powerpc: ps3: use dev_groups and not dev_attrs for bus_type
powerpc: ibmebus: use dev_groups and not dev_attrs for bus_type
powerpc: vio: use dev_groups and not dev_attrs for bus_type
powerpc: vio_cmo: use dev_groups and not dev_attrs for bus_type
hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type
hid: intel-ish-hid: use dev_groups and not dev_attrs for bus_type
sparc: vio: use dev_groups and not dev_attrs for bus_type
tty: serdev: use dev_groups and not dev_attrs for bus_type
driver-core: remove struct bus_type.dev_attrs
arch/arm/mach-rpc/ecard.c | 40 +++++++++++++++-----------
arch/mips/sgi-ip22/ip22-gio.c | 16 +++++++----
arch/parisc/kernel/drivers.c | 23 ++++++++-------
arch/powerpc/platforms/ps3/system-bus.c | 10 ++++---
arch/powerpc/platforms/pseries/ibmebus.c | 16 +++++++----
arch/powerpc/platforms/pseries/vio.c | 49 +++++++++++++++++++++-----------
arch/sparc/kernel/vio.c | 18 +++++++-----
drivers/amba/bus.c | 25 ++++++++--------
drivers/base/bus.c | 37 +-----------------------
drivers/hid/intel-ish-hid/ishtp/bus.c | 10 ++++---
drivers/hwtracing/intel_th/core.c | 1 -
drivers/macintosh/macio_asic.c | 4 +--
drivers/macintosh/macio_sysfs.c | 29 +++++++++++++------
drivers/rpmsg/rpmsg_core.c | 23 ++++++++-------
drivers/sh/superhyway/superhyway-sysfs.c | 29 ++++++++++++-------
drivers/sh/superhyway/superhyway.c | 2 +-
drivers/tty/serdev/core.c | 10 ++++---
include/linux/device.h | 2 --
include/linux/superhyway.h | 2 +-
19 files changed, 188 insertions(+), 158 deletions(-)
--
2.13.0