[coreboot-gerrit] New patch to review for coreboot: b90b7bf pnp: Unify some alignment to ease autogenerating patches
Nico Huber (nico.huber@secunet.com)
gerrit at coreboot.org
Sun Jun 16 14:41:30 CEST 2013
Nico Huber (nico.huber at secunet.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3479
-gerrit
commit b90b7bfff946d5f80a5655256fa1c3ab8c8c3d96
Author: Nico Huber <nico.h at gmx.de>
Date: Sat Jun 15 15:30:19 2013 +0200
pnp: Unify some alignment to ease autogenerating patches
Most PnP drivers align the initialization of their `device_operations`
with spaces. Unify this, so next autogenerated patches always match the
alignment.
Change-Id: I3f6baef6c8bb294c136354754125ea88c07a61a1
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
src/ec/kontron/it8516e/ec.c | 10 +++++-----
src/superio/ite/it8712f/superio.c | 10 +++++-----
src/superio/ite/it8772f/superio.c | 10 +++++-----
src/superio/smsc/smscsuperio/superio.c | 10 +++++-----
src/superio/winbond/w83977f/superio.c | 10 +++++-----
5 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/src/ec/kontron/it8516e/ec.c b/src/ec/kontron/it8516e/ec.c
index f4df9c7..fa7bbc8 100644
--- a/src/ec/kontron/it8516e/ec.c
+++ b/src/ec/kontron/it8516e/ec.c
@@ -143,11 +143,11 @@ static void it8516e_pm2_init(const device_t dev)
}
static struct device_operations it8516e_pm2_ops = {
- .read_resources = pnp_read_resources,
- .set_resources = pnp_set_resources,
- .enable_resources = pnp_enable_resources,
- .enable = pnp_enable,
- .init = it8516e_pm2_init
+ .read_resources = pnp_read_resources,
+ .set_resources = pnp_set_resources,
+ .enable_resources = pnp_enable_resources,
+ .enable = pnp_enable,
+ .init = it8516e_pm2_init
};
static struct pnp_info it8516e_dev_infos[] = {
diff --git a/src/superio/ite/it8712f/superio.c b/src/superio/ite/it8712f/superio.c
index ae77ece..bf649da 100644
--- a/src/superio/ite/it8712f/superio.c
+++ b/src/superio/ite/it8712f/superio.c
@@ -95,11 +95,11 @@ static void it8712f_pnp_enable(device_t dev)
}
static struct device_operations ops = {
- .read_resources = pnp_read_resources,
- .set_resources = it8712f_pnp_set_resources,
- .enable_resources = it8712f_pnp_enable_resources,
- .enable = it8712f_pnp_enable,
- .init = it8712f_init,
+ .read_resources = pnp_read_resources,
+ .set_resources = it8712f_pnp_set_resources,
+ .enable_resources = it8712f_pnp_enable_resources,
+ .enable = it8712f_pnp_enable,
+ .init = it8712f_init,
};
static struct pnp_info pnp_dev_info[] = {
diff --git a/src/superio/ite/it8772f/superio.c b/src/superio/ite/it8772f/superio.c
index b4b54e9..b6c4405 100644
--- a/src/superio/ite/it8772f/superio.c
+++ b/src/superio/ite/it8772f/superio.c
@@ -211,11 +211,11 @@ static void it8772f_pnp_enable(device_t dev)
}
static struct device_operations ops = {
- .read_resources = pnp_read_resources,
- .set_resources = it8772f_pnp_set_resources,
- .enable_resources = it8772f_pnp_enable_resources,
- .enable = it8772f_pnp_enable,
- .init = it8772f_init,
+ .read_resources = pnp_read_resources,
+ .set_resources = it8772f_pnp_set_resources,
+ .enable_resources = it8772f_pnp_enable_resources,
+ .enable = it8772f_pnp_enable,
+ .init = it8772f_init,
};
static struct pnp_info pnp_dev_info[] = {
diff --git a/src/superio/smsc/smscsuperio/superio.c b/src/superio/smsc/smscsuperio/superio.c
index 1d32b9f..d687bd1 100644
--- a/src/superio/smsc/smscsuperio/superio.c
+++ b/src/superio/smsc/smscsuperio/superio.c
@@ -231,11 +231,11 @@ static void smsc_init(device_t dev)
/** Standard device operations. */
static struct device_operations ops = {
- .read_resources = pnp_read_resources,
- .set_resources = smsc_pnp_set_resources,
- .enable_resources = smsc_pnp_enable_resources,
- .enable = smsc_pnp_enable,
- .init = smsc_init,
+ .read_resources = pnp_read_resources,
+ .set_resources = smsc_pnp_set_resources,
+ .enable_resources = smsc_pnp_enable_resources,
+ .enable = smsc_pnp_enable,
+ .init = smsc_init,
};
/**
diff --git a/src/superio/winbond/w83977f/superio.c b/src/superio/winbond/w83977f/superio.c
index f990b46..b084b11 100644
--- a/src/superio/winbond/w83977f/superio.c
+++ b/src/superio/winbond/w83977f/superio.c
@@ -76,11 +76,11 @@ static void w83977f_enable(device_t dev)
}
static struct device_operations ops = {
- .read_resources = pnp_read_resources,
- .set_resources = w83977f_set_resources,
- .enable_resources = w83977f_enable_resources,
- .enable = w83977f_enable,
- .init = w83977f_init,
+ .read_resources = pnp_read_resources,
+ .set_resources = w83977f_set_resources,
+ .enable_resources = w83977f_enable_resources,
+ .enable = w83977f_enable,
+ .init = w83977f_init,
};
static struct pnp_info pnp_dev_info[] = {
More information about the coreboot-gerrit
mailing list