]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ftdi_sio: clean up attribute visibility logic
authorJohan Hovold <johan@kernel.org>
Mon, 19 Sep 2022 13:24:54 +0000 (15:24 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 20 Sep 2022 07:42:38 +0000 (09:42 +0200)
commit9245aec846e4b4eb030c6ca5db108c2136d9ad1e
tree1121693334e67850d10260127ade8558efca6d93
parent2f34c20e8ea750936a7d47886384c7480186e575
USB: serial: ftdi_sio: clean up attribute visibility logic

Clean up the attribute visibility logic by defaulting to attributes
being visible and explicitly listing the exceptions.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c