Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 05:54:26 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259287 - head/sys/powerpc/cpufreq
Message-ID:  <201312130554.rBD5sQTa075548@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Fri Dec 13 05:54:25 2013
New Revision: 259287
URL: http://svnweb.freebsd.org/changeset/base/259287

Log:
  Some style(9) fixes
  
  MFC after:	1 month
  X-MFC with: r259284

Modified:
  head/sys/powerpc/cpufreq/pmufreq.c

Modified: head/sys/powerpc/cpufreq/pmufreq.c
==============================================================================
--- head/sys/powerpc/cpufreq/pmufreq.c	Fri Dec 13 03:09:29 2013	(r259286)
+++ head/sys/powerpc/cpufreq/pmufreq.c	Fri Dec 13 05:54:25 2013	(r259287)
@@ -106,9 +106,9 @@ pmufreq_identify(driver_t *driver, devic
 static int
 pmufreq_probe(device_t dev)
 {
-	uint32_t min_freq;
 	struct pmufreq_softc *sc;
 	phandle_t node;
+	uint32_t min_freq;
 
 	if (resource_disabled("pmufreq", 0))
 		return (ENXIO);
@@ -174,8 +174,7 @@ static int
 pmufreq_set(device_t dev, const struct cf_setting *set)
 {
 	struct pmufreq_softc *sc;
-	int speed_sel;
-	int error;
+	int error, speed_sel;
 
 	if (set == NULL)
 		return (EINVAL);
@@ -191,7 +190,7 @@ pmufreq_set(device_t dev, const struct c
 	if (error == 0)
 		sc->curfreq = set->freq;
 
-	return error;
+	return (error);
 }
 
 static int



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