superio: Remove blank lines before and after code blocks

Change-Id: I0d2ff9828e83ef927036c561d11f95b54b858cda
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Elyes Haouas
2024-03-23 15:03:13 +01:00
parent 5d57af9a36
commit d586545bf8
19 changed files with 0 additions and 21 deletions

View File

@@ -115,7 +115,6 @@ static void pnp_ssdt_enter_conf_mode_a0a0(struct device *dev, const char *idx, c
acpigen_write_store(); acpigen_write_store();
acpigen_write_byte(0xa0); acpigen_write_byte(0xa0);
acpigen_emit_namestring(idx); acpigen_emit_namestring(idx);
} }
static void pnp_ssdt_enter_conf_mode_a5a5(struct device *dev, const char *idx, const char *data) static void pnp_ssdt_enter_conf_mode_a5a5(struct device *dev, const char *idx, const char *data)
@@ -161,7 +160,6 @@ static void pnp_ssdt_exit_conf_mode_aa(struct device *dev, const char *idx, cons
static void pnp_ssdt_exit_conf_mode_0202(struct device *dev, const char *idx, const char *data) static void pnp_ssdt_exit_conf_mode_0202(struct device *dev, const char *idx, const char *data)
{ {
acpigen_write_store(); acpigen_write_store();
acpigen_write_byte(0x02); acpigen_write_byte(0x02);
acpigen_emit_namestring(idx); acpigen_emit_namestring(idx);

View File

@@ -320,7 +320,6 @@ static void enable_dev(struct device *dev)
printk(BIOS_ERR, "%s: Base address not set\n", dev_path(dev)); printk(BIOS_ERR, "%s: Base address not set\n", dev_path(dev));
else else
dev->ops = &ops; dev->ops = &ops;
} }
struct chip_operations superio_common_ops = { struct chip_operations superio_common_ops = {

View File

@@ -103,7 +103,6 @@ static void ldn_gen_resources(const struct device *dev)
} }
if (irq) if (irq)
acpigen_write_irq(irq); acpigen_write_irq(irq);
} }
/* Add resource base and size for additional SuperIO code */ /* Add resource base and size for additional SuperIO code */
@@ -225,7 +224,6 @@ void superio_common_fill_ssdt_generator(const struct device *dev)
acpigen_emit_byte(RETURN_OP); acpigen_emit_byte(RETURN_OP);
acpigen_emit_byte(LOCAL0_OP); acpigen_emit_byte(LOCAL0_OP);
} }
acpigen_pop_len(); /* Method */ acpigen_pop_len(); /* Method */

View File

@@ -6,7 +6,6 @@
#include <stdint.h> #include <stdint.h>
struct superio_fintek_f71808a_config { struct superio_fintek_f71808a_config {
uint8_t hwm_vt1_boundary_1_temperature; uint8_t hwm_vt1_boundary_1_temperature;
uint8_t hwm_vt1_boundary_2_temperature; uint8_t hwm_vt1_boundary_2_temperature;
uint8_t hwm_vt1_boundary_3_temperature; uint8_t hwm_vt1_boundary_3_temperature;

View File

@@ -29,7 +29,6 @@ static void f81803a_init(struct device *dev)
f81803a_pme_init(dev); f81803a_pme_init(dev);
break; break;
} }
} }
static struct device_operations ops = { static struct device_operations ops = {

View File

@@ -9,7 +9,6 @@
static void f81865f_init(struct device *dev) static void f81865f_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -6,7 +6,6 @@
#include <stdint.h> #include <stdint.h>
struct superio_fintek_f81866d_config { struct superio_fintek_f81866d_config {
/* AMD TSI */ /* AMD TSI */
uint8_t hwm_amd_tsi_addr; uint8_t hwm_amd_tsi_addr;
uint8_t hwm_amd_tsi_control; uint8_t hwm_amd_tsi_control;

View File

@@ -9,7 +9,6 @@
static void it8712f_init(struct device *dev) static void it8712f_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -9,7 +9,6 @@
static void init(struct device *dev) static void init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -8,7 +8,6 @@
static void init(struct device *dev) static void init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -9,7 +9,6 @@ void m3885_configure_multikey(void);
static void m3885x_init(struct device *dev) static void m3885x_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -43,7 +43,6 @@ static void enable_dev(struct device *dev)
static void lpc47m15x_init(struct device *dev) static void lpc47m15x_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -106,7 +106,6 @@ void lpc47n227_pnp_enable(struct device *dev)
*/ */
static void lpc47n227_init(struct device *dev) static void lpc47n227_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -11,7 +11,6 @@
static void mec1308_init(struct device *dev) static void mec1308_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -216,7 +216,6 @@ static void enable_dev(struct device *dev)
u8 test7; u8 test7;
if (first_time) { if (first_time) {
pnp_enter_conf_mode_55(dev); pnp_enter_conf_mode_55(dev);
/* Read the device ID and revision of the Super I/O chip. */ /* Read the device ID and revision of the Super I/O chip. */

View File

@@ -20,7 +20,6 @@ static void w83627dhg_enable_UR2(struct device *dev)
static void w83627dhg_init(struct device *dev) static void w83627dhg_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -8,7 +8,6 @@
static void w83627thg_init(struct device *dev) static void w83627thg_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -38,7 +38,6 @@ static void set_uart_clock_source(struct device *dev, u8 uart_clock)
static void w83627uhg_init(struct device *dev) static void w83627uhg_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;

View File

@@ -9,7 +9,6 @@
static void w83977tf_init(struct device *dev) static void w83977tf_init(struct device *dev)
{ {
if (!dev->enabled) if (!dev->enabled)
return; return;