]> 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)
commit862aac185ac7d5c12f5b719cdc1ec26357e387c4
tree1121693334e67850d10260127ade8558efca6d93
parent4db874afcf8c721586e49a3677ea4e800d2e78d0
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