Various cosmetic and coding style fixes in src/devices.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 4 Nov 2010 23:23:47 +0000 (23:23 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 4 Nov 2010 23:23:47 +0000 (23:23 +0000)
commite4870474b9026ad6b2ccabe59a8623e28722007f
tree45905ef12a2941f731e3ea74f1e55e197556c0a7
parent305e8861d66b050a3e35133603acce69324349fe
Various cosmetic and coding style fixes in src/devices.

Also:

 - Improve a few code comments, fix typos, etc.

 - Change a few more variable types to u8/u16/u32 etc.

 - Make some very long lines fit into 80chars/line.

 - Drop a huge duplicated comment, use "@see" to refer to the other one.

 - Reduce nesting level a bit by restructuring some code chunks.

 - s/Config.lb/devicetree.cb/ in a few places.

Abuild-tested.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6019 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
15 files changed:
src/devices/agp_device.c
src/devices/cardbus_device.c
src/devices/device.c
src/devices/device_util.c
src/devices/hypertransport.c
src/devices/pci_device.c
src/devices/pci_ops.c
src/devices/pci_rom.c
src/devices/pciexp_device.c
src/devices/pcix_device.c
src/devices/pnp_device.c
src/devices/smbus_ops.c
src/include/device/device.h
src/include/device/pci.h
src/include/device/pci_ops.h