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 | ||
adc.c | ||
clock-dclk.c | ||
clock.c | ||
common-smdk.c | ||
cpu.c | ||
devs.c | ||
dma.c | ||
gpio.c | ||
gpiolib.c | ||
irq-pm.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
pm-simtec.c | ||
pm.c | ||
pwm.c | ||
s3c244x-clock.c | ||
s3c244x-irq.c | ||
s3c244x.c | ||
s3c244x.h | ||
s3c2410-clock.c | ||
setup-i2c.c | ||
sleep.S | ||
spi-bus0-gpe11_12_13.c | ||
spi-bus1-gpg5_6_7.c |