gpio: Explicitly index samsung_gpio_cfgs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 7 Dec 2011 16:23:58 +0000 (00:23 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 2 Jan 2012 07:25:43 +0000 (00:25 -0700)
commit2985479f198c6bceded56fa5cf51457a8d273513
tree8bf8196d815aeeeb9778a5062765354a2cf4e3c1
parent15182f636417e24fbcd464369fe73e966550e95f
gpio: Explicitly index samsung_gpio_cfgs

Make it easier to follow the by number references into samsung_gpio_cfgs
by putting the indexes into the code initialising the array, improving
readability a bit. Ideally we wouldn't be using magic array indexes at all
but this is easier than coming up with a better way.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-samsung.c