gpio: alias gpio base number for gpio from DT
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 16 Jan 2014 11:16:31 +0000 (16:16 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Fri, 17 Jan 2014 10:44:36 +0000 (02:44 -0800)
commit1dadda4b2b6c5c41e1c4d5ac40a548a6545f9d50
tree261f4f86317f58b91c554f66dcf9ba782b02251b
parent6ace21fa56c01b94f72409d3dbeddac26a1a6ac3
gpio: alias gpio base number for gpio from DT

Alias the gpio base number when registering the device
from DT. This will help on assigning the base gpio number
to gpio controller so that non-dt client of gpio can use
these gpios.

Change-Id: I12ce2108d21d21fa7c9a0c60d498d4136515add2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/356512
drivers/gpio/gpiolib.c