diff options
| author | Sean Anderson <[email protected]> | 2021-08-26 19:25:49 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-08-27 14:34:32 +0000 |
| commit | 2e5f3a69b6fcd52a64ce3d746c6ee8390b6cabe8 (patch) | |
| tree | 2dddc9376dfb22fd7e924224d172bd431219c6f0 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | tty: serial: uartlite: Use constants in early_uartlite_putc (diff) | |
| download | kernel-2e5f3a69b6fcd52a64ce3d746c6ee8390b6cabe8.tar.gz kernel-2e5f3a69b6fcd52a64ce3d746c6ee8390b6cabe8.zip | |
tty: serial: uartlite: Use read_poll_timeout for a polling loop
read_poll_timeout was recently introduced, and can be used to simplify
our console polling loop. This results in a slight reduction in code.
early_uartlite_putc can't get the same treatment, because it can be
called before udelay is set up.
Signed-off-by: Sean Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
