]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: Convert S3C24XX LED driver to gpiolib API
authorSylwester Nawrocki <sylvester.nawrocki@gmail.com>
Sat, 30 Jun 2012 12:30:26 +0000 (20:30 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 23 Jul 2012 23:52:36 +0000 (07:52 +0800)
commit7d84f66f22cb511b7cb7602b2a9dab20c8906da7
tree57aad93f06c63221b82ddf94bccfd8ad536ec58e
parent7e97b58133b7cddf3be80660300bb2c77c514c6f
leds: Convert S3C24XX LED driver to gpiolib API

The s3c2410_gpio* calls are obsolete and have been scheduled for
removal since several kernel releases. Remove them and use common
gpiolib API instead.
This patch also adds gpio_request/gpio_free call for API corectness.

It is a prerequisite for removal of the S3C24XX SoC specific
arch/arm/plat-samsung/include/gpio-fns.h header.

Tested on Micro2440-SDK.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/leds-s3c24xx.c