coreboot/src
Michael Niewöhner 702e60ad8a mb/system76/lemp9: gpio: convert gpio.h to a cleaner format
Convert gpio.h to a compacter, cleaner format by keeping gpios in a
single line, where possible.

This was done with the following fancy vim regex replacement commands.
(Neither sed, nor awk multiline matching syntax are friends with me...)
Just open src/mainboard/system76/lemp9/gpio.h with vim, type : before
pasting each command, press enter and see how the format changes.

g#^\t//#d
%s/^\t\t/\t/
g/PAD_.*$\n\n[^/]/s/\n//
g#// NC#d
%s#^\t// \(.*\)\n\t// \(.*\)#\t// \1 \2#g
%s#^\t// \(.*\)\n\t\(PAD_.*,\)#\t\2\t\t/* \1 */
%s#^// \(GP.*\)#\t/* ------- GPIO Group \1 ------- */#

Finally some indents and multiline comments need to be fixed manually.

Test: images built with TIMELESS do not differ.

Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Change-Id: I9054274dc4c8942935b6a4789bfc1547dd3d4017
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43652
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
2020-09-22 20:06:03 +00:00
..
acpi acpi: Add SSDT pstate helper functions 2020-09-22 16:06:34 +00:00
arch arch/arm: Add support for loading Linux kernels 2020-09-21 08:10:56 +00:00
commonlib src/commonlib: Drop unneeded empty lines 2020-09-21 15:53:25 +00:00
console src/console: Drop unneeded empty lines 2020-09-21 15:52:42 +00:00
cpu src/cpu: Drop unneeded empty lines 2020-09-21 16:20:30 +00:00
device src/device: Drop unneeded empty lines 2020-09-21 15:56:17 +00:00
drivers drivers/intel/fsp2_0: Add CONFIG_FSP_STATUS_GLOBAL_RESET 2020-09-21 16:03:28 +00:00
ec ec/google/chromeec: Add dptc interface support 2020-09-17 06:18:59 +00:00
include acpi: Add SSDT pstate helper functions 2020-09-22 16:06:34 +00:00
lib src/lib/bootblock.c: make bootblock_main_with_timestamp public 2020-09-22 07:00:34 +00:00
mainboard mb/system76/lemp9: gpio: convert gpio.h to a cleaner format 2020-09-22 20:06:03 +00:00
northbridge nb/intel/ironlake: Use MSAC definition 2020-09-22 17:36:42 +00:00
security src/security: Drop unneeded empty lines 2020-09-21 16:26:17 +00:00
soc soc/nvidia: Drop unneeded empty lines 2020-09-22 17:14:59 +00:00
southbridge src/southbridge: Drop unneeded empty lines 2020-09-21 16:29:35 +00:00
superio superio/ite: Distinguish between chips for PECI readings 2020-09-22 01:11:02 +00:00
vendorcode chromeos: Provide common watchdog reboot support in romstage 2020-09-15 01:09:38 +00:00
Kconfig treewide/Kconfig: Drop unneeded empty lines 2020-09-21 16:30:14 +00:00