diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-02-22 14:26:00 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-02-24 06:28:56 +0100 |
commit | 02f5b98951c631a3c4b3cc398dd2b14d274a6155 (patch) | |
tree | 357c026f464d5790833630eac6ac9bc78d4d2bf9 /kernel/irq_work.c | |
parent | 95dcd4aea57f1d449305f3032240bba0a839593b (diff) | |
download | op-kernel-dev-02f5b98951c631a3c4b3cc398dd2b14d274a6155.zip op-kernel-dev-02f5b98951c631a3c4b3cc398dd2b14d274a6155.tar.gz |
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 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions