Some style(9) fixes
MFC after: 1 month X-MFC with: r259284
This commit is contained in:
@@ -106,9 +106,9 @@ pmufreq_identify(driver_t *driver, device_t parent)
|
|||||||
static int
|
static int
|
||||||
pmufreq_probe(device_t dev)
|
pmufreq_probe(device_t dev)
|
||||||
{
|
{
|
||||||
uint32_t min_freq;
|
|
||||||
struct pmufreq_softc *sc;
|
struct pmufreq_softc *sc;
|
||||||
phandle_t node;
|
phandle_t node;
|
||||||
|
uint32_t min_freq;
|
||||||
|
|
||||||
if (resource_disabled("pmufreq", 0))
|
if (resource_disabled("pmufreq", 0))
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
@@ -174,8 +174,7 @@ static int
|
|||||||
pmufreq_set(device_t dev, const struct cf_setting *set)
|
pmufreq_set(device_t dev, const struct cf_setting *set)
|
||||||
{
|
{
|
||||||
struct pmufreq_softc *sc;
|
struct pmufreq_softc *sc;
|
||||||
int speed_sel;
|
int error, speed_sel;
|
||||||
int error;
|
|
||||||
|
|
||||||
if (set == NULL)
|
if (set == NULL)
|
||||||
return (EINVAL);
|
return (EINVAL);
|
||||||
@@ -191,7 +190,7 @@ pmufreq_set(device_t dev, const struct cf_setting *set)
|
|||||||
if (error == 0)
|
if (error == 0)
|
||||||
sc->curfreq = set->freq;
|
sc->curfreq = set->freq;
|
||||||
|
|
||||||
return error;
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|||||||
Reference in New Issue
Block a user