diff options
author | Erwan Le Ray <erwan.leray@st.com> | 2019-05-21 17:45:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 09:58:29 +0200 |
commit | 2c58e56096dd011ea43f29a032d19b0e76fe2570 (patch) | |
tree | e9db1a2ddad8c056de380dd6f21d671770ea2555 /drivers/tty/n_tty.c | |
parent | 5297f274e8b61ceb9676cba6649d3de9d03387ad (diff) |
serial: stm32: fix the get_irq error case
Checks the returned values of platform_get_irq() for both required
"event" and optional "wakeup" IRQs during probe. This allows the driver
probe to be deferred if needed.
Removes redundant checks for 'cfg.has_wakeup'.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
0 files changed, 0 insertions, 0 deletions