lindi: bugfix/feature. sounds sensible. s3c specific
commit 8a8ab2e64e09b56dc1324fd2f7da12346166cad1
Author: Peter Korsgaard <jacmet@sunsite.dk>
Date: Mon Oct 10 19:55:58 2011 +0900
gpio/samsung: only register available gpio banks
Only register gpio banks provided by SoC instead of the maximum possible
to lessen confusion, get rid of a warning from gpiolib and stop it from
eating into the extra gpios for configs with S3C24XX_GPIO_EXTRA != 0.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>