diff options
author | Nico Huber <nico.h@gmx.de> | 2013-06-15 15:30:19 +0200 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-06-17 18:11:35 +0200 |
commit | 9cb0941cb2f4ceb77b470c4de617ca915896d9f3 (patch) | |
tree | d10c3b05ffe3df1baf90cea70ac7f9b67c1609da /src | |
parent | 7fd1beeaf7a295d298b26880593840033290c329 (diff) |
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@gmx.de>
Reviewed-on: http://review.coreboot.org/3479
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/kontron/it8516e/ec.c | 10 | ||||
-rw-r--r-- | src/superio/ite/it8712f/superio.c | 10 | ||||
-rw-r--r-- | src/superio/ite/it8772f/superio.c | 10 | ||||
-rw-r--r-- | src/superio/smsc/smscsuperio/superio.c | 10 | ||||
-rw-r--r-- | 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 f4df9c777c..fa7bbc8450 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 ae77ecef90..bf649dac7a 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 b4b54e9dc3..b6c4405d9b 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 1d32b9f7b6..d687bd1c16 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 f990b46cab..b084b11d97 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[] = { |