Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751722AbdFHIM5 (ORCPT ); Thu, 8 Jun 2017 04:12:57 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39298 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751686AbdFHIMx (ORCPT ); Thu, 8 Jun 2017 04:12:53 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , "Bryant G. Ly" , "James E.J. Bottomley" , "Martin K. Petersen" , Alexandre Courbot , Artem Bityutskiy , Bart Van Assche , Boris Brezillon , Brian Norris , Cyrille Pitchen , David Woodhouse , Hannes Reinecke , Jan Kara , Jens Axboe , Linus Walleij , Marek Vasut , Michael Cyr , Mike Christie , Minchan Kim , Nitin Gupta , Richard Weinberger , Sergey Senozhatsky Subject: [PATCH 0/7] Driver core: remove class_attrs from struct class Date: Thu, 8 Jun 2017 10:12:35 +0200 Message-Id: <20170608081242.27061-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.13.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1439 Lines: 34 Some more patches that have long been sitting in a local tree... The class_attrs field in struct class duplicates the same effort that class_groups implements, so let's finally get rid of the last few users of this field, and delete it, and the duplicated logic in the driver core. 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 test-builds from what I can tell. Greg Kroah-Hartman (7): uwb: use class_groups instead of class_attrs scsi: ibmvscsi_tgt: remove use of class_attrs mtd: use class_groups instead of class_attrs zram: use class_groups instead of class_attrs gpio: use class_groups instead of class_attrs pktcdvd: use class_groups instead of class_attrs driver core: remove class_attrs from struct class drivers/base/class.c | 33 ------------------------------ drivers/block/pktcdvd.c | 35 ++++++++++++++++---------------- drivers/block/zram/zram_drv.c | 26 ++++++++++++++---------- drivers/gpio/gpiolib-sysfs.c | 13 +++++++----- drivers/mtd/ubi/build.c | 16 ++++++++------- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 5 ----- drivers/uwb/driver.c | 11 +++++----- include/linux/device.h | 2 -- 8 files changed, 55 insertions(+), 86 deletions(-) -- 2.13.1