diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-22 22:26:00 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-24 06:28:56 +0100 |
commit | 02f5b98951c631a3c4b3cc398dd2b14d274a6155 (patch) | |
tree | 357c026f464d5790833630eac6ac9bc78d4d2bf9 /arch | |
parent | pinctrl: use dev_*() instead of pr_*(), add some msgs, minor cleanups (diff) | |
download | linux-02f5b98951c631a3c4b3cc398dd2b14d274a6155.tar.xz linux-02f5b98951c631a3c4b3cc398dd2b14d274a6155.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions