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:
@@ -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);
|
||||||
|
@@ -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 = {
|
||||||
|
@@ -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 */
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
@@ -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 = {
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
static void init(struct device *dev)
|
static void init(struct device *dev)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!dev->enabled)
|
if (!dev->enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
static void init(struct device *dev)
|
static void init(struct device *dev)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!dev->enabled)
|
if (!dev->enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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. */
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user