commit | 6a4756f6951f97a9a601ba24632c5906750ef00d | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Fri May 01 15:58:19 2015 +0200 |
committer | Jesper Nilsson <jespern@axis.com> | Sat Sep 05 00:33:24 2015 +0200 |
tree | 34164b443bba232e2dc729c467cb5e042ea844ea | |
parent | 51e771c0d25b43d0f12b2c7c01939942becbbe28 [diff] |
cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset Turn a kmalloc/memset into an equivalent kzalloc. Doing so also move the zero'ing of the memory outside of a mutex. Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Signed-off-by: Jesper Nilsson <jespern@axis.com>