serial: 8250_exar: Add ->unregister_gpio() callback
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Jul 2021 09:58:21 +0000 (12:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 10:48:47 +0000 (12:48 +0200)
commit33969db7abe9e1cea524e1facb416952211e1d7d
treed30837988ba78f1471e72c08718f19c91d0b458c
parente94159dfba797539d69c14cc142baed0e3e8d53e
serial: 8250_exar: Add ->unregister_gpio() callback

For the sake of reducing layering violation add ->unregister_gpio()
callback and use it in the ->exit() one.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210713095821.7834-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c