diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-23 01:26:00 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-24 09:28:56 +0400 |
commit | 02f5b98951c631a3c4b3cc398dd2b14d274a6155 (patch) | |
tree | 357c026f464d5790833630eac6ac9bc78d4d2bf9 /drivers/pinctrl/core.h | |
parent | 95dcd4aea57f1d449305f3032240bba0a839593b (diff) | |
download | linux-02f5b98951c631a3c4b3cc398dd2b14d274a6155.tar.xz |
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 'drivers/pinctrl/core.h')
0 files changed, 0 insertions, 0 deletions