gpio-pch: modify gpio_nums and mask
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Thu, 21 Jul 2011 00:19:57 +0000 (09:19 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 5 Oct 2011 17:59:17 +0000 (11:59 -0600)
commitd4260e6dddfe642ab50ec6398aeac794a6aff151
tree4d6e0f7f6552ea3071f7c4a2897e534c58a38ea9
parentc3520a1a84f13becf7489ddee4571eaccf108934
gpio-pch: modify gpio_nums and mask

Currently, the number of GPIO pins is set fixed value(=12).
Also PIN MASK is set as '0xfff'.
However the pins differs by IOH.
This patch sets the value correctly.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pch.c