Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751703AbdFFTYQ (ORCPT ); Tue, 6 Jun 2017 15:24:16 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33590 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663AbdFFTYO (ORCPT ); Tue, 6 Jun 2017 15:24:14 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , "David S. Miller" , "James E.J. Bottomley" , Alexander Shishkin , Alexey Kardashevskiy , Bart Van Assche , Benjamin Herrenschmidt , Benjamin Tissoires , Bhumika Goyal , Bjorn Andersson , Doug Ledford , Geoff Levand , Helge Deller , Jiri Kosina , Jiri Slaby , Joerg Roedel , Johan Hovold , Krzysztof Kozlowski , Lars-Peter Clausen , Michael Ellerman , Ohad Ben-Cohen , Paul Mackerras , Ralf Baechle , Rasmus Villemoes , Rich Felker , Rob Herring , Robin Murphy , Russell King , Srinivas Pandruvada , Vineet Gupta , Wei Yongjun , Yoshinori Sato Subject: [PATCH 00/16] Driver core: remove bus_type.dev_attrs Date: Tue, 6 Jun 2017 21:22:05 +0200 Message-Id: <20170606192221.1617-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2860 Lines: 60 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