]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ftdi_sio: convert to use dev_groups
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Wed, 14 Sep 2022 07:13:34 +0000 (15:13 +0800)
committerJohan Hovold <johan@kernel.org>
Mon, 19 Sep 2022 13:06:15 +0000 (15:06 +0200)
commit2b466b4a5711cdfd69d04b940507538811966326
tree441bcb5e4e316309be21a77a6d31eb50ea172f36
parentf1a83164fa68b9216101151363925f2215c77c35
USB: serial: ftdi_sio: convert to use dev_groups

The driver core supports the ability to handle the creation and removal
of device-specific sysfs files in a race-free manner.

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
[ johan: rebase on type rework, make groups static, clean up, amend
         commit message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c