diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-10-05 15:31:00 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-10-19 13:56:01 +0200 |
| commit | 64527782d4e1c7a4ffb8e35a68fdb1249ff4656e (patch) | |
| tree | 17b7218ad3cc9df64bb462a2658d56a2a27c0b15 | |
| parent | 1438d00569c4c3d19ac46147b2791a3e9284fc47 (diff) | |
| download | linux-next-64527782d4e1c7a4ffb8e35a68fdb1249ff4656e.tar.gz linux-next-64527782d4e1c7a4ffb8e35a68fdb1249ff4656e.zip | |
vgacon: Remove trailing whitespaces
Fix coding style.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
| -rw-r--r-- | drivers/video/console/vgacon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 37bd18730fe0..536e7fe4d142 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -881,14 +881,14 @@ static int vgacon_do_font_op(struct vgastate *state, char *arg, int set, /* First, the Sequencer */ vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1); /* CPU writes only to map 2 */ - vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x04); + vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x04); /* Sequential addressing */ - vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x07); + vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x07); /* Clear synchronous reset */ vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03); /* Now, the graphics controller, select map 2 */ - vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x02); + vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x02); /* disable odd-even addressing */ vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x00); /* map start at A000:0000 */ @@ -930,7 +930,7 @@ static int vgacon_do_font_op(struct vgastate *state, char *arg, int set, raw_spin_lock_irq(&vga_lock); /* First, the sequencer, Synchronous reset */ - vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01); + vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01); /* CPU writes to maps 0 and 1 */ vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x03); /* odd-even addressing */ @@ -959,7 +959,7 @@ static int vgacon_do_font_op(struct vgastate *state, char *arg, int set, /* Wilton (1987) mentions the following; I don't know what it means, but it works, and it appears necessary */ inb_p(video_port_status); - vga_wattr(state->vgabase, VGA_AR_ENABLE_DISPLAY, 0); + vga_wattr(state->vgabase, VGA_AR_ENABLE_DISPLAY, 0); clear_attribs = true; } raw_spin_unlock_irq(&vga_lock); |
