From d3a74bb4fe305e5b2e6c74a6f777f549fad34b3b Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 19 Aug 2020 21:54:11 +0200 Subject: src/superio: Drop unneeded empty lines Change-Id: I3fd0cc00f32fa073cb2a6faf2802acdbe7db592c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/44614 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/superio/fintek/f81866d/f81866d_hwm.c | 2 -- src/superio/ite/common/early_serial.c | 1 - src/superio/ite/it8528e/it8528e.h | 1 - src/superio/ite/it8772f/it8772f.h | 1 - src/superio/nuvoton/nct6779d/nct6779d.h | 1 - src/superio/nuvoton/nct6779d/superio.c | 1 - src/superio/smsc/sch5545/sch5545.h | 1 - src/superio/smsc/smscsuperio/early_serial.c | 1 - 8 files changed, 9 deletions(-) diff --git a/src/superio/fintek/f81866d/f81866d_hwm.c b/src/superio/fintek/f81866d/f81866d_hwm.c index a682a158e3..a7ed96bb26 100644 --- a/src/superio/fintek/f81866d/f81866d_hwm.c +++ b/src/superio/fintek/f81866d/f81866d_hwm.c @@ -10,7 +10,6 @@ #include "fintek_internal.h" #include "chip.h" - /* Register addresses */ // Choose between AMD and Intel #define HWM_AMD_TSI_ADDR 0x08 @@ -37,7 +36,6 @@ #define HWM_FAN2_SEG4_SPEED_COUNT 0xBD #define HWM_FAN2_SEG5_SPEED_COUNT 0xBE - void f81866d_hwm_init(struct device *dev) { struct resource *res = find_resource(dev, PNP_IDX_IO0); diff --git a/src/superio/ite/common/early_serial.c b/src/superio/ite/common/early_serial.c index 48e414b0da..6b05a382e7 100644 --- a/src/superio/ite/common/early_serial.c +++ b/src/superio/ite/common/early_serial.c @@ -45,7 +45,6 @@ void ite_reg_write(pnp_devfn_t dev, u8 reg, u8 value) pnp_exit_conf_state(dev); } - /* * in romstage.c * #define CLKIN_DEV PNP_DEV(0x2e, ITE_GPIO) diff --git a/src/superio/ite/it8528e/it8528e.h b/src/superio/ite/it8528e/it8528e.h index 13e723c9be..009f8666d9 100644 --- a/src/superio/ite/it8528e/it8528e.h +++ b/src/superio/ite/it8528e/it8528e.h @@ -19,5 +19,4 @@ #define IT8528E_PMC4 0x18 /* Power Management Channel 4 */ #define IT8528E_PMC5 0x19 /* Power Management Channel 5 */ - #endif /* SUPERIO_ITE_IT8528E_H */ diff --git a/src/superio/ite/it8772f/it8772f.h b/src/superio/ite/it8772f/it8772f.h index 2663884eb7..949ec116f5 100644 --- a/src/superio/ite/it8772f/it8772f.h +++ b/src/superio/ite/it8772f/it8772f.h @@ -129,5 +129,4 @@ void it8772f_exit_conf(pnp_devfn_t dev); void it8772f_gpio_led(pnp_devfn_t dev, int set, u8 select, u8 polarity, u8 pullup, u8 output, u8 enable, u8 led_pin_map, u8 led_freq); - #endif /* SUPERIO_ITE_IT8772F_H */ diff --git a/src/superio/nuvoton/nct6779d/nct6779d.h b/src/superio/nuvoton/nct6779d/nct6779d.h index 46abf05c70..85f4081368 100644 --- a/src/superio/nuvoton/nct6779d/nct6779d.h +++ b/src/superio/nuvoton/nct6779d/nct6779d.h @@ -20,7 +20,6 @@ #define NCT6779D_PRT80 0x14 /* Port 80 UART */ #define NCT6779D_DSLP 0x16 /* Deep sleep */ - /* virtual LDN for GPIO */ #define NCT6779D_GPIOBASE ((0 << 8) | NCT6779D_WDT1_GPIO01_V) diff --git a/src/superio/nuvoton/nct6779d/superio.c b/src/superio/nuvoton/nct6779d/superio.c index ef50aa6c05..77058b0bc3 100644 --- a/src/superio/nuvoton/nct6779d/superio.c +++ b/src/superio/nuvoton/nct6779d/superio.c @@ -7,7 +7,6 @@ #include "nct6779d.h" - static void nct6779d_init(struct device *dev) { if (!dev->enabled) diff --git a/src/superio/smsc/sch5545/sch5545.h b/src/superio/smsc/sch5545/sch5545.h index 464be1a106..9d5054efa0 100644 --- a/src/superio/smsc/sch5545/sch5545.h +++ b/src/superio/smsc/sch5545/sch5545.h @@ -131,7 +131,6 @@ #define SCH5545_IRQ_PARPORT 0x11 #define SCH5545_IRQ_DISABLED 0xff - /* runtime registers */ #define SCH5545_RR_PME_STS 0x00 #define SCH5545_GLOBAL_PME_STS 0x01 diff --git a/src/superio/smsc/smscsuperio/early_serial.c b/src/superio/smsc/smscsuperio/early_serial.c index 81ec0aab5c..b9f6e70fef 100644 --- a/src/superio/smsc/smscsuperio/early_serial.c +++ b/src/superio/smsc/smscsuperio/early_serial.c @@ -24,7 +24,6 @@ static void pnp_exit_conf_state(pnp_devfn_t dev) outb(SMSC_EXIT_KEY, port); } - /** * Enable the specified serial port. * -- cgit v1.2.3