soc/amd/stoneyridge: Fix most checkpatch errors
commit4e101ada37c10282030729f4a03fd505bd4f526d
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Thu, 15 Jun 2017 18:17:38 +0000 (15 12:17 -0600)
committerMartin Roth <martinroth@google.com>
Tue, 27 Jun 2017 20:50:54 +0000 (27 20:50 +0000)
tree7cdb6f41b198ef1e9c30f66da854572893de91ed
parent4692e2fc95605a997cd9cd1cdb711e6c1f6869bc
soc/amd/stoneyridge: Fix most checkpatch errors

Correct the majority of reported errors and mark most of the
remaining ones as todo.  (Some of the lines requiring a >80
break are indented too much currently.)  Some of the alignment
in hudson.h still causes checkpatch errors, but this is
intentionally left as-is.

Also make other misc. changes, e.g. consistency in lower-case
for hex values, using defined values, etc.

These changes were confirmed to cause no changes in a Gardenia
build.  No other improvements were made, e.g. changing to helper
functions, or converting functions like __outbyte().

BUG=chrome-os-partner:622407746

Change-Id: I768884a4c4b9505e77f5d6bfde37797520878912
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/19986
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
27 files changed:
src/soc/amd/stoneyridge/bootblock/bootblock.c
src/soc/amd/stoneyridge/chip.c
src/soc/amd/stoneyridge/chip.h
src/soc/amd/stoneyridge/dimmSpd.c
src/soc/amd/stoneyridge/early_setup.c
src/soc/amd/stoneyridge/enable_usbdebug.c
src/soc/amd/stoneyridge/fadt.c
src/soc/amd/stoneyridge/fixme.c
src/soc/amd/stoneyridge/gpio.c
src/soc/amd/stoneyridge/hudson.c
src/soc/amd/stoneyridge/imc.c
src/soc/amd/stoneyridge/include/amd_pci_int_defs.h
src/soc/amd/stoneyridge/include/amd_pci_int_types.h
src/soc/amd/stoneyridge/include/soc/gpio.h
src/soc/amd/stoneyridge/include/soc/hudson.h
src/soc/amd/stoneyridge/include/soc/pci_devs.h
src/soc/amd/stoneyridge/include/soc/smbus.h
src/soc/amd/stoneyridge/lpc.c
src/soc/amd/stoneyridge/model_15_init.c
src/soc/amd/stoneyridge/northbridge.c
src/soc/amd/stoneyridge/reset.c
src/soc/amd/stoneyridge/sata.c
src/soc/amd/stoneyridge/sd.c
src/soc/amd/stoneyridge/smbus.c
src/soc/amd/stoneyridge/smbus_spd.c
src/soc/amd/stoneyridge/smihandler.c
src/soc/amd/stoneyridge/uart.c