asmc: clean up empty lines in .c and .h files

This commit is contained in:
mjg 2020-09-01 21:40:30 +00:00
parent 96cb2216e7
commit 62de119e7d
2 changed files with 1 additions and 13 deletions

View File

@ -371,7 +371,6 @@ struct asmc_model asmc_models[] = {
ASMC_LIGHT_FUNCS, ASMC_LIGHT_FUNCS,
ASMC_MBA7_TEMPS, ASMC_MBA7_TEMPNAMES, ASMC_MBA7_TEMPDESCS ASMC_MBA7_TEMPS, ASMC_MBA7_TEMPNAMES, ASMC_MBA7_TEMPDESCS
}, },
{ NULL, NULL } { NULL, NULL }
}; };
@ -389,7 +388,6 @@ static device_method_t asmc_methods[] = {
DEVMETHOD(device_attach, asmc_attach), DEVMETHOD(device_attach, asmc_attach),
DEVMETHOD(device_detach, asmc_detach), DEVMETHOD(device_detach, asmc_detach),
DEVMETHOD(device_resume, asmc_resume), DEVMETHOD(device_resume, asmc_resume),
{ 0, 0 } { 0, 0 }
}; };
@ -712,7 +710,6 @@ asmc_resume(device_t dev)
return (0); return (0);
} }
#ifdef DEBUG #ifdef DEBUG
void asmc_dumpall(device_t dev) void asmc_dumpall(device_t dev)
{ {
@ -871,7 +868,6 @@ asmc_wait(device_t dev, uint8_t val)
*/ */
static int static int
asmc_command(device_t dev, uint8_t command) { asmc_command(device_t dev, uint8_t command) {
int i; int i;
struct asmc_softc *sc = device_get_softc(dev); struct asmc_softc *sc = device_get_softc(dev);
@ -1171,7 +1167,6 @@ asmc_mb_sysctl_fansafespeed(SYSCTL_HANDLER_ARGS)
return (error); return (error);
} }
static int static int
asmc_mb_sysctl_fanminspeed(SYSCTL_HANDLER_ARGS) asmc_mb_sysctl_fanminspeed(SYSCTL_HANDLER_ARGS)
{ {
@ -1316,8 +1311,6 @@ asmc_sms_intrfast(void *arg)
return (FILTER_HANDLED); return (FILTER_HANDLED);
} }
static void static void
asmc_sms_printintr(device_t dev, uint8_t type) asmc_sms_printintr(device_t dev, uint8_t type)
{ {

View File

@ -76,7 +76,6 @@ struct asmc_softc {
*/ */
#define ASMC_INTPORT_READ(sc) bus_read_1(sc->sc_ioport, 0x1f) #define ASMC_INTPORT_READ(sc) bus_read_1(sc->sc_ioport, 0x1f)
/* Number of keys */ /* Number of keys */
#define ASMC_NKEYS "#KEY" /* RO; 4 bytes */ #define ASMC_NKEYS "#KEY" /* RO; 4 bytes */
@ -292,7 +291,6 @@ struct asmc_softc {
"GPU Die", "Memory Bank A1", "Memory Module A1", \ "GPU Die", "Memory Bank A1", "Memory Module A1", \
"PCH Die" } "PCH Die" }
#define ASMC_MBP112_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \ #define ASMC_MBP112_TEMPS { "TB0T", "TB1T", "TB2T", "TBXT", "TC0E", \
"TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \ "TC0F", "TC0P", "TC1C", "TC2C", "TC3C", \
"TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \ "TC4C", "TCFC", "TCGC", "TCSA", "TCTD", \
@ -349,8 +347,6 @@ struct asmc_softc {
"TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \ "TM0S", "TP0P", "TPCD", "TW0P", "Ta0P", \
"TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \ "TaSP", "Th1H", "Th2H", "Ts0P", "Ts0S", \
"Ts1S" } "Ts1S" }
#define ASMC_MM_TEMPS { "TN0P", "TN1P", NULL } #define ASMC_MM_TEMPS { "TN0P", "TN1P", NULL }
#define ASMC_MM_TEMPNAMES { "northbridge1", "northbridge2" } #define ASMC_MM_TEMPNAMES { "northbridge1", "northbridge2" }
#define ASMC_MM_TEMPDESCS { "Northbridge Point 1", \ #define ASMC_MM_TEMPDESCS { "Northbridge Point 1", \
@ -433,7 +429,7 @@ struct asmc_softc {
"memory_proximity", "pch_controller_proximity", \ "memory_proximity", "pch_controller_proximity", \
"pch_controller_die", "pwr_supply", \ "pch_controller_die", "pwr_supply", \
"wireless_proximity", } "wireless_proximity", }
#define ASMC_MM52_TEMPDESCS { "Ambient Air Proximity Temperature", \ #define ASMC_MM52_TEMPDESCS { "Ambient Air Proximity Temperature", \
"Combo Ambient CPU PCH Wireless DIMM Temperature", \ "Combo Ambient CPU PCH Wireless DIMM Temperature", \
"CPU Die Temperature", "CPU Proximity Temperature", \ "CPU Die Temperature", "CPU Proximity Temperature", \
@ -585,7 +581,6 @@ struct asmc_softc {
"Te3F", "Te3S", "Te4F", "Te4S", "Te5F", \ "Te3F", "Te3S", "Te4F", "Te4S", "Te5F", \
"Te5S", "TeGG", "TeGP", "TeRG", "TeRP", \ "Te5S", "TeGG", "TeGP", "TeRG", "TeRP", \
"TeRV", "Tp0C", "Tp1C", "TpPS", "TpTG", } "TeRV", "Tp0C", "Tp1C", "TpPS", "TpTG", }
#define ASMC_MBA_TEMPS { "TB0T", NULL } #define ASMC_MBA_TEMPS { "TB0T", NULL }
#define ASMC_MBA_TEMPNAMES { "enclosure" } #define ASMC_MBA_TEMPNAMES { "enclosure" }
#define ASMC_MBA_TEMPDESCS { "Enclosure Bottom" } #define ASMC_MBA_TEMPDESCS { "Enclosure Bottom" }