diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-06 16:44:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-09 07:55:44 +0200 |
commit | c847a36521b08dbdaa4a23cb0795c0ee01241f8f (patch) | |
tree | 00a4329083a982e6d2a32353b0c7ab37bf4eec71 /drivers/usb/class/usbtmc.c | |
parent | USB: cypress_cy7c63: convert to use dev_groups (diff) | |
download | linux-c847a36521b08dbdaa4a23cb0795c0ee01241f8f.tar.xz linux-c847a36521b08dbdaa4a23cb0795c0ee01241f8f.zip |
USB: cytherm: convert to use dev_groups
USB drivers now support the ability for the driver core to handle the
creation and removal of device-specific sysfs files in a race-free
manner. Take advantage of that by converting the driver to use this by
moving the sysfs attributes into a group and assigning the dev_groups
pointer to it.
Link: https://lore.kernel.org/r/20190806144502.17792-9-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/usbtmc.c')
0 files changed, 0 insertions, 0 deletions