serial: max3100: Replace custom polling timeout with standard one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 2 Apr 2024 19:50:33 +0000 (22:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 13:51:36 +0000 (15:51 +0200)
commite1cb4fa90fb8edbb7f47aca2328fc6425bcc582f
tree0b9f419b27460ab3660c9d868e8d75914e37b0a3
parent3c37ac45718ebb25203314c908dc4b5c5b9b2119
serial: max3100: Replace custom polling timeout with standard one

Serial core provides a standard timeout for polling modem state.
Use it instead of a custom approach.

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