From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-usb@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [PATCH 00/12] USB: dev_groups support for usb drivers
Date: Tue, 6 Aug 2019 16:44:50 +0200 [thread overview]
Message-ID: <20190806144502.17792-1-gregkh@linuxfoundation.org> (raw)
Now that the driver core supports the ability for individual drivers to
have attribute groups added/removed when a device is bound/unbound to a
driver automatically, we should take advantage of that in the USB
subsystem.
This patch series adds dev_groups support to struct usb_driver and
struct usb_device_driver (needed for the usbip driver), and then
converts a number of individual USB drivers over to use this api.
Greg Kroah-Hartman (12):
USB: add support for dev_groups to struct usb_driver
USB: add support for dev_groups to struct usb_device_driver
USB: atm: cxacru: convert to use dev_groups
USB: ueagle-atm: convert to use dev_groups
USB: usblp: convert to use dev_groups
USB: usbtmc: convert to use dev_groups
USB: cypress_cy7c63: convert to use dev_groups
USB: cytherm: convert to use dev_groups
USB: lvstest: convert to use dev_groups
USB: trancevibrator: convert to use dev_groups
USB: usbsevseg: convert to use dev_groups
USB: usbip: convert to use dev_groups
drivers/usb/atm/cxacru.c | 58 ++++++++++++++++------------
drivers/usb/atm/ueagle-atm.c | 16 ++------
drivers/usb/class/usblp.c | 13 ++++---
drivers/usb/class/usbtmc.c | 13 ++-----
drivers/usb/core/driver.c | 2 +
drivers/usb/misc/cypress_cy7c63.c | 29 ++++----------
drivers/usb/misc/cytherm.c | 64 +++++++++----------------------
drivers/usb/misc/lvstest.c | 19 ++-------
drivers/usb/misc/trancevibrator.c | 15 ++++----
drivers/usb/misc/usbsevseg.c | 17 ++------
drivers/usb/usbip/stub_dev.c | 50 ++++--------------------
include/linux/usb.h | 6 +++
12 files changed, 104 insertions(+), 198 deletions(-)
--
2.22.0
next reply other threads:[~2019-08-06 14:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-06 14:44 Greg Kroah-Hartman [this message]
2019-08-05 19:36 ` [PATCH] USB: musb: convert platform driver to use dev_groups Greg Kroah-Hartman
2019-08-07 18:25 ` Bin Liu
2019-08-06 14:44 ` [PATCH 01/12] USB: add support for dev_groups to struct usb_driver Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 02/12] USB: add support for dev_groups to struct usb_device_driver Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 03/12] USB: atm: cxacru: convert to use dev_groups Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 04/12] USB: ueagle-atm: " Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 05/12] USB: usblp: " Greg Kroah-Hartman
2019-08-08 20:35 ` Pete Zaitcev
2019-08-06 14:44 ` [PATCH 06/12] USB: usbtmc: " Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 07/12] USB: cypress_cy7c63: " Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 08/12] USB: cytherm: " Greg Kroah-Hartman
2019-08-06 14:44 ` [PATCH 09/12] USB: lvstest: " Greg Kroah-Hartman
2019-08-06 14:45 ` [PATCH 10/12] USB: trancevibrator: " Greg Kroah-Hartman
2019-08-06 14:45 ` [PATCH 11/12] USB: usbsevseg: " Greg Kroah-Hartman
2019-08-06 14:45 ` [PATCH 12/12] USB: usbip: " Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190806144502.17792-1-gregkh@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.