mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
9f05f6a921
The use of S3C2410_GP[A-Z]x_INP and S3C2410_GP[A-Z]x_OUTP are very rare and are taking up large amounts of space in the regs-gpio.h header. The GPIO layer has had generic input and out defines called S3C2410_GPIO_INPUT and S3C2410_GPIO_OUTPUT for a while which work for all S3C24XX GPIOs. Do the following replacements: S3C2410_GP[A-Z][0-9]*_\OUTP => S3C2410_GPIO_OUTPUT S3C2410_GP[A-Z][0-9]*_\INP => /S3C2410_GPIO_INPUT S3C2410_GPA[0-9]*_OUT => S3C2410_GPIO_OUTPUT to remove any usages of these and prepare the header for the removal of these. The following command was used to acheive this: find . -type f -writable ! -name regs-gpio.h ! -name "*~" | xargs sed -i~ -e 's/S3C2410_GP[A-Z][0-9]*_\OUTP/S3C2410_GPIO_OUTPUT/g' -e 's/S3C2410_GP[A-Z][0-9]*_\INP/S3C2410_GPIO_INPUT/g' -e 's/S3C2410_GPA[0-9]*_OUT/S3C2410_GPIO_OUTPUT/g' Signed-off-by: Ben Dooks <ben-linux@fluff.org> |
||
---|---|---|
.. | ||
include/mach | ||
bast-ide.c | ||
bast-irq.c | ||
dma.c | ||
gpio.c | ||
h1940-bluetooth.c | ||
irq.c | ||
Kconfig | ||
mach-amlm5900.c | ||
mach-bast.c | ||
mach-h1940.c | ||
mach-n30.c | ||
mach-otom.c | ||
mach-qt2410.c | ||
mach-smdk2410.c | ||
mach-tct_hammer.c | ||
mach-vr1000.c | ||
Makefile | ||
Makefile.boot | ||
nor-simtec.c | ||
nor-simtec.h | ||
pm-h1940.S | ||
pm.c | ||
s3c2410.c | ||
sleep.S | ||
usb-simtec.c | ||
usb-simtec.h |