git: 33e2f70d7d10 - stable/13 - ofw_cpu: whitespace cleanup

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Fri, 09 Jun 2023 19:58:17 UTC
The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=33e2f70d7d1065fddc66347f6d63c4d82dd9a7eb

commit 33e2f70d7d1065fddc66347f6d63c4d82dd9a7eb
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2023-05-24 13:27:34 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-06-09 19:48:06 +0000

    ofw_cpu: whitespace cleanup
    
    Reviewed by:    jhb, emaste
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D40242
    
    (cherry picked from commit 5edffecc4b4ec6c3e1f09174f155a3abdd928d01)
---
 sys/dev/ofw/ofw_cpu.c | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/sys/dev/ofw/ofw_cpu.c b/sys/dev/ofw/ofw_cpu.c
index a033c7ef8725..832b3dd54565 100644
--- a/sys/dev/ofw/ofw_cpu.c
+++ b/sys/dev/ofw/ofw_cpu.c
@@ -91,10 +91,10 @@ static devclass_t ofw_cpulist_devclass;
 DRIVER_MODULE(ofw_cpulist, ofwbus, ofw_cpulist_driver, ofw_cpulist_devclass,
     0, 0);
 
-static int 
-ofw_cpulist_probe(device_t dev) 
+static int
+ofw_cpulist_probe(device_t dev)
 {
-	const char	*name;
+	const char *name;
 
 	name = ofw_bus_get_name(dev);
 
@@ -106,8 +106,8 @@ ofw_cpulist_probe(device_t dev)
 	return (0);
 }
 
-static int 
-ofw_cpulist_attach(device_t dev) 
+static int
+ofw_cpulist_attach(device_t dev)
 {
 	struct ofw_cpulist_softc *sc;
 	phandle_t root, child;
@@ -124,18 +124,18 @@ ofw_cpulist_attach(device_t dev)
 	for (child = OF_child(root); child != 0; child = OF_peer(child)) {
 		dinfo = malloc(sizeof(*dinfo), M_OFWCPU, M_WAITOK | M_ZERO);
 
-                if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) {
-                        free(dinfo, M_OFWCPU);
-                        continue;
-                }
-                cdev = device_add_child(dev, NULL, -1);
-                if (cdev == NULL) {
-                        device_printf(dev, "<%s>: device_add_child failed\n",
-                            dinfo->obd_name);
-                        ofw_bus_gen_destroy_devinfo(dinfo);
-                        free(dinfo, M_OFWCPU);
-                        continue;
-                }
+		if (ofw_bus_gen_setup_devinfo(dinfo, child) != 0) {
+			free(dinfo, M_OFWCPU);
+			continue;
+		}
+		cdev = device_add_child(dev, NULL, -1);
+		if (cdev == NULL) {
+			device_printf(dev, "<%s>: device_add_child failed\n",
+			    dinfo->obd_name);
+			ofw_bus_gen_destroy_devinfo(dinfo);
+			free(dinfo, M_OFWCPU);
+			continue;
+		}
 		device_set_ivars(cdev, dinfo);
 	}
 
@@ -143,9 +143,9 @@ ofw_cpulist_attach(device_t dev)
 }
 
 static const struct ofw_bus_devinfo *
-ofw_cpulist_get_devinfo(device_t dev, device_t child) 
+ofw_cpulist_get_devinfo(device_t dev, device_t child)
 {
-	return (device_get_ivars(child));	
+	return (device_get_ivars(child));
 }
 
 static int	ofw_cpu_probe(device_t);
@@ -246,8 +246,8 @@ ofw_cpu_attach(device_t dev)
 		struct cpuref cpuref;
 		cell_t *servers;
 		int i, nservers, rv;
-		
-		if ((nservers = OF_getencprop_alloc(node, 
+
+		if ((nservers = OF_getencprop_alloc(node,
 		    "ibm,ppc-interrupt-server#s", (void **)&servers)) < 0)
 			return (ENXIO);
 		nservers /= sizeof(cell_t);