serial: max3100: Remove unneeded forward declaration
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 2 Apr 2024 19:50:41 +0000 (22:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 13:51:51 +0000 (15:51 +0200)
commit80949ca0f3a89bc046b6a84ec2fcc2b3a4241a93
tree86667fb084e3903a7d98db7ab573759082fd8e7c
parente1cb4fa90fb8edbb7f47aca2328fc6425bcc582f
serial: max3100: Remove unneeded forward declaration

There is no code using max3100_work() before the definition of it.
Remove unneeded forward declaration.

While at it, move max3100_dowork() and max3100_timeout() down in
the code to be after actual max3100_work() implementation.

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