USB: serial: ftdi_sio: drop GPIO line checking dead code
authorMarc Zyngier <maz@kernel.org>
Fri, 4 Dec 2020 16:47:39 +0000 (16:47 +0000)
committerJohan Hovold <johan@kernel.org>
Wed, 9 Dec 2020 17:06:45 +0000 (18:06 +0100)
commit5d47c887cceed5261e82e2cc7e996b877d5381f8
tree604dd7dd47b185f6bed5adae26dd0100209fefc5
parent11fb08cffbebcbda76b3d882c19398c7571ab355
USB: serial: ftdi_sio: drop GPIO line checking dead code

Now that gpiolib can track the validity of GPIO pins, there is no need
to check whether the line is valid in request().

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201204164739.781812-5-maz@kernel.org
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[johan: amend commit message]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c