Module Name: src Committed By: skrll Date: Mon Aug 19 16:09:42 UTC 2024
Modified Files: src/sys/dev/ic: sti.c Log Message: Whitespace fixes To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/ic/sti.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/sti.c diff -u src/sys/dev/ic/sti.c:1.38 src/sys/dev/ic/sti.c:1.39 --- src/sys/dev/ic/sti.c:1.38 Mon Aug 19 10:57:32 2024 +++ src/sys/dev/ic/sti.c Mon Aug 19 16:09:42 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: sti.c,v 1.38 2024/08/19 10:57:32 macallan Exp $ */ +/* $NetBSD: sti.c,v 1.39 2024/08/19 16:09:42 skrll Exp $ */ /* $OpenBSD: sti.c,v 1.61 2009/09/05 14:09:35 miod Exp $ */ @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sti.c,v 1.38 2024/08/19 10:57:32 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sti.c,v 1.39 2024/08/19 16:09:42 skrll Exp $"); #include "wsdisplay.h" @@ -1082,7 +1082,7 @@ sti_ioctl(void *v, void *vs, u_long cmd, ret = 0; switch (cmd) { case GCID: - *(u_int *) data = rom->rom_dd.dd_grid[0]; + *(u_int *)data = rom->rom_dd.dd_grid[0]; break; case WSDISPLAYIO_GMODE: @@ -1122,7 +1122,6 @@ sti_ioctl(void *v, void *vs, u_long cmd, *(u_int *)data = WSDISPLAY_TYPE_STI; break; - case WSDISPLAYIO_GINFO: wdf = (struct wsdisplay_fbinfo *)data; wdf->height = scr->scr_cfg.scr_height;