gpio/pca953x: increase variables size to support 24 bit of data
authorLeed Aguilar <leed.aguilar@ti.com>
Tue, 10 Jul 2012 13:35:53 +0000 (19:05 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Jul 2012 19:00:18 +0000 (21:00 +0200)
commitca3ffe910f9935d24e02bb5628a8cbcab119fd9a
treed1753ea42d143ba28bbf2c4b0424d83104e21c16
parent6a7b36aa4b0afbe7a9798feac16de47ad856f358
gpio/pca953x: increase variables size to support 24 bit of data

Increase variable size from u16 to u32 to allocate 24 bit of data required for
the TCA6424 I/O expander device type.

Signed-off-by: Leed Aguilar <leed.aguilar@ti.com>
Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c