summaryrefslogtreecommitdiff
path: root/drivers/usb/misc/usbsevseg.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-06 17:45:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-09 08:55:45 +0300
commitf9bbcbef0c50b766cf5931ab7d8f3c97a784257e (patch)
tree68928aa508ac6ada17aadcb7cd1a5d8544a05305 /drivers/usb/misc/usbsevseg.c
parentc5501d23e38df1f1e7afd373a5d924a18936930c (diff)
downloadlinux-f9bbcbef0c50b766cf5931ab7d8f3c97a784257e.tar.xz
USB: trancevibrator: 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. Cc: Ding Xiang <dingxiang@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20190806144502.17792-11-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/usbsevseg.c')
0 files changed, 0 insertions, 0 deletions