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>
This commit is contained in:
Nico Huber 2013-06-15 15:30:19 +02:00 committed by Ronald G. Minnich
parent 7fd1beeaf7
commit 9cb0941cb2
5 changed files with 25 additions and 25 deletions

View File

@ -143,11 +143,11 @@ static void it8516e_pm2_init(const device_t dev)
} }
static struct device_operations it8516e_pm2_ops = { static struct device_operations it8516e_pm2_ops = {
.read_resources = pnp_read_resources, .read_resources = pnp_read_resources,
.set_resources = pnp_set_resources, .set_resources = pnp_set_resources,
.enable_resources = pnp_enable_resources, .enable_resources = pnp_enable_resources,
.enable = pnp_enable, .enable = pnp_enable,
.init = it8516e_pm2_init .init = it8516e_pm2_init
}; };
static struct pnp_info it8516e_dev_infos[] = { static struct pnp_info it8516e_dev_infos[] = {

View File

@ -95,11 +95,11 @@ static void it8712f_pnp_enable(device_t dev)
} }
static struct device_operations ops = { static struct device_operations ops = {
.read_resources = pnp_read_resources, .read_resources = pnp_read_resources,
.set_resources = it8712f_pnp_set_resources, .set_resources = it8712f_pnp_set_resources,
.enable_resources = it8712f_pnp_enable_resources, .enable_resources = it8712f_pnp_enable_resources,
.enable = it8712f_pnp_enable, .enable = it8712f_pnp_enable,
.init = it8712f_init, .init = it8712f_init,
}; };
static struct pnp_info pnp_dev_info[] = { static struct pnp_info pnp_dev_info[] = {

View File

@ -211,11 +211,11 @@ static void it8772f_pnp_enable(device_t dev)
} }
static struct device_operations ops = { static struct device_operations ops = {
.read_resources = pnp_read_resources, .read_resources = pnp_read_resources,
.set_resources = it8772f_pnp_set_resources, .set_resources = it8772f_pnp_set_resources,
.enable_resources = it8772f_pnp_enable_resources, .enable_resources = it8772f_pnp_enable_resources,
.enable = it8772f_pnp_enable, .enable = it8772f_pnp_enable,
.init = it8772f_init, .init = it8772f_init,
}; };
static struct pnp_info pnp_dev_info[] = { static struct pnp_info pnp_dev_info[] = {

View File

@ -231,11 +231,11 @@ static void smsc_init(device_t dev)
/** Standard device operations. */ /** Standard device operations. */
static struct device_operations ops = { static struct device_operations ops = {
.read_resources = pnp_read_resources, .read_resources = pnp_read_resources,
.set_resources = smsc_pnp_set_resources, .set_resources = smsc_pnp_set_resources,
.enable_resources = smsc_pnp_enable_resources, .enable_resources = smsc_pnp_enable_resources,
.enable = smsc_pnp_enable, .enable = smsc_pnp_enable,
.init = smsc_init, .init = smsc_init,
}; };
/** /**

View File

@ -76,11 +76,11 @@ static void w83977f_enable(device_t dev)
} }
static struct device_operations ops = { static struct device_operations ops = {
.read_resources = pnp_read_resources, .read_resources = pnp_read_resources,
.set_resources = w83977f_set_resources, .set_resources = w83977f_set_resources,
.enable_resources = w83977f_enable_resources, .enable_resources = w83977f_enable_resources,
.enable = w83977f_enable, .enable = w83977f_enable,
.init = w83977f_init, .init = w83977f_init,
}; };
static struct pnp_info pnp_dev_info[] = { static struct pnp_info pnp_dev_info[] = {