summaryrefslogtreecommitdiff
path: root/src/superio/smsc/kbc1100
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:56:45 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:07:45 +0100
commit5ff7c13e858a31addf1558731a12cf6c753b576d (patch)
tree82ed6cf7b45f3a86c2c43ab87383355ed6012d6c /src/superio/smsc/kbc1100
parent784544b934d67dc85ccfcf33e04ff148045836ad (diff)
downloadcoreboot-5ff7c13e858a31addf1558731a12cf6c753b576d.tar.xz
remove trailing whitespace
Change-Id: Ib91889a374515d36a2b12b53aeb12b6ea6e22732 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/364 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/superio/smsc/kbc1100')
-rw-r--r--src/superio/smsc/kbc1100/chip.h2
-rw-r--r--src/superio/smsc/kbc1100/kbc1100_early_init.c6
-rw-r--r--src/superio/smsc/kbc1100/superio.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/superio/smsc/kbc1100/chip.h b/src/superio/smsc/kbc1100/chip.h
index 020224f650..40aff0bf7d 100644
--- a/src/superio/smsc/kbc1100/chip.h
+++ b/src/superio/smsc/kbc1100/chip.h
@@ -27,7 +27,7 @@ struct chip_operations;
extern struct chip_operations superio_smsc_kbc1100_ops;
struct superio_smsc_kbc1100_config {
-
+
struct pc_keyboard keyboard;
};
diff --git a/src/superio/smsc/kbc1100/kbc1100_early_init.c b/src/superio/smsc/kbc1100/kbc1100_early_init.c
index 4247a96318..84aa4e0510 100644
--- a/src/superio/smsc/kbc1100/kbc1100_early_init.c
+++ b/src/superio/smsc/kbc1100/kbc1100_early_init.c
@@ -40,11 +40,11 @@ static inline void kbc1100_early_init(unsigned port)
dev = PNP_DEV (port, KBC1100_KBC);
pnp_enter_conf_state(dev);
-
+
/* Serial IRQ enabled */
outb(0x25, port);
outb(0x04, port + 1);
-
+
/* Enable SMSC UART 0 */
dev = PNP_DEV (port, SMSCSUPERIO_SP1);
pnp_set_logical_device(dev);
@@ -70,6 +70,6 @@ static inline void kbc1100_early_init(unsigned port)
pnp_exit_conf_state(dev);
/* disable the 1s timer */
- outb(0xE7, 0x64);
+ outb(0xE7, 0x64);
}
diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c
index bd330bac4a..c4fde95960 100644
--- a/src/superio/smsc/kbc1100/superio.c
+++ b/src/superio/smsc/kbc1100/superio.c
@@ -97,14 +97,14 @@ static void kbc1100_init(device_t dev)
struct superio_smsc_kbc1100_config *conf = dev->chip_info;
struct resource *res0, *res1;
-
-
+
+
if (!dev->enabled) {
return;
}
switch(dev->path.pnp.device) {
-
+
case KBC1100_KBC:
res0 = find_resource(dev, PNP_IDX_IO0);
res1 = find_resource(dev, PNP_IDX_IO1);