]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd458d79d403c866e19a4af9a38420ad3605ed1f4
treead43f0f9e02992f4ad4481496ea9ee331a9cafc2
parent37f5084fac9375c22d9212670d5c87fa435d06c5
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