commit | 02f5b98951c631a3c4b3cc398dd2b14d274a6155 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Feb 22 14:26:00 2012 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Feb 24 06:28:56 2012 +0100 |
tree | 357c026f464d5790833630eac6ac9bc78d4d2bf9 | |
parent | 95dcd4aea57f1d449305f3032240bba0a839593b [diff] |
pinctrl: allocate sizeof(*p) instead of sizeof(struct foo) 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>