Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2020 09:34:47 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r363073 - head/sys/arm/broadcom/bcm2835
Message-ID:  <202007100934.06A9Yluw018748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Fri Jul 10 09:34:47 2020
New Revision: 363073
URL: https://svnweb.freebsd.org/changeset/base/363073

Log:
  Split long lines in the Raspberry Pi FB driver
  
  Sponsored by:	Innovate UK

Modified:
  head/sys/arm/broadcom/bcm2835/bcm2835_fbd.c

Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fbd.c
==============================================================================
--- head/sys/arm/broadcom/bcm2835/bcm2835_fbd.c	Fri Jul 10 09:24:27 2020	(r363072)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_fbd.c	Fri Jul 10 09:34:47 2020	(r363073)
@@ -88,17 +88,20 @@ bcm_fb_init(struct bcmsc_softc *sc, struct bcm2835_fb_
 	if (bcm2835_mbox_fb_get_bpp(fb) != 0)
 		return (ENXIO);
 	if (fb->bpp < FB_DEPTH) {
-		device_printf(sc->dev, "changing fb bpp from %d to %d\n", fb->bpp, FB_DEPTH);
+		device_printf(sc->dev, "changing fb bpp from %d to %d\n",
+		    fb->bpp, FB_DEPTH);
 		fb->bpp = FB_DEPTH;
 	} else
-		device_printf(sc->dev, "keeping existing fb bpp of %d\n", fb->bpp);
+		device_printf(sc->dev, "keeping existing fb bpp of %d\n",
+		    fb->bpp);
 
 	fb->vxres = fb->xres;
 	fb->vyres = fb->yres;
 	fb->xoffset = fb->yoffset = 0;
 
 	if ((err = bcm2835_mbox_fb_init(fb)) != 0) {
-		device_printf(sc->dev, "bcm2835_mbox_fb_init failed, err=%d\n", err);
+		device_printf(sc->dev, "bcm2835_mbox_fb_init failed, err=%d\n",
+		    err);
 		return (ENXIO);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007100934.06A9Yluw018748>