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)
commitc142bdc5c7207018efa1928317b1e708eda05e09
tree1121693334e67850d10260127ade8558efca6d93
parent61dfa797c731754642d1ac500a6ac42f9b47f920
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