gpio-74x164: Fix buffer allocation size
authorRoland Stigge <stigge@antcom.de>
Tue, 16 Oct 2012 13:24:01 +0000 (15:24 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Oct 2012 17:34:43 +0000 (19:34 +0200)
commita48221a26e4914b7e2d8a1749b6115212bac8bee
treead43f0f9e02992f4ad4481496ea9ee331a9cafc2
parentd79550a7bc35c16476ebdc27c78378d8093390ec
gpio-74x164: Fix buffer allocation size

The new registers handling in the gpio-74x164 driver allocates chip->registers
* 8 bytes where only one byte per register is necessary. This patch fixes this.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-74x164.c