pinctrl: allocate sizeof(*p) instead of sizeof(struct foo)
authorStephen Warren <swarren@nvidia.com>
Wed, 22 Feb 2012 21:26:00 +0000 (14:26 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Feb 2012 05:28:56 +0000 (06:28 +0100)
This hopefully makes it harder to take the sizeof the wrong type.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found