1. 18 May, 2009 1 commit
    • Ben Dooks's avatar
      [ARM] S3C24XX: GPIO: Move gpio functions out of <mach/hardware.h> · ec976d6e
      Ben Dooks authored
      Move all the gpio functions out of <mach/hardware.h> as
      this file is for defining the generic IO base addresses
      for the kernel IO calls.
      
      Make a new header <mach/gpio-fns.h> to take this and
      include it via the chain from <linux/gpio.h> which is
      what most of these files should be using (and will be
      changed as soon as possible).
      
      Note, this does make minor changes to some drivers but
      should not mess up any pending merges.
      
      CC: Richard Purdie <rpurdie@rpsys.net>
      Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      CC: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      ec976d6e
  2. 17 May, 2009 2 commits
    • Ben Dooks's avatar
      [ARM] S3C24XX: GPIO: Remove pin specific input and output defines · 9f05f6a9
      Ben Dooks authored
      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: default avatarBen Dooks <ben-linux@fluff.org>
      9f05f6a9
    • Ben Dooks's avatar
      [ARM] S3C24XX: GPIO: Remove s3c2410_gpio_irq2pin() call · ec7f4d5d
      Ben Dooks authored
      Remove the s3c2410_gpio_irq2pin() function as it is not being
      used in any in kernel driver and the function is probably not
      being used anywhere else.
      
      This is also part of the effort to remove any of the s3c24xx gpio
      specific code that cannot be recreated by using the gpiolib
      framework now in the kernel.
      Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
      Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
      ec7f4d5d
  3. 07 May, 2009 22 commits
  4. 01 May, 2009 8 commits
  5. 30 Apr, 2009 3 commits
  6. 29 Apr, 2009 4 commits