USB: serial: mos7840: drop serial struct accessor
authorJohan Hovold <johan@kernel.org>
Thu, 7 Nov 2019 13:29:01 +0000 (14:29 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 12 Nov 2019 08:57:16 +0000 (09:57 +0100)
commit2d52f0763f8ea965d35dc13958b85d0e88e596b2
treec0bedc7cd38218a72c0c52163cd18a936020ee89
parent6d3471eded5e64c0310ceeff4adf9ca6d324ddd7
USB: serial: mos7840: drop serial struct accessor

Drop the helper used to retrieve the serial struct pointer from the port
structure.

Note that this helper was only used when the serial structure was
actually not needed.

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