]> 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)
commit582d2c532d7d7d10db61fdeb9e53d161106837d3
tree441bcb5e4e316309be21a77a6d31eb50ea172f36
parente963802a1f9bdcfd41dbb8c5bdb682506c2ac46a
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