diff options
author | 2012-02-22 14:26:00 -0700 | |
---|---|---|
committer | 2012-02-24 06:28:56 +0100 | |
commit | 02f5b98951c631a3c4b3cc398dd2b14d274a6155 (patch) | |
tree | 357c026f464d5790833630eac6ac9bc78d4d2bf9 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | pinctrl: use dev_*() instead of pr_*(), add some msgs, minor cleanups (diff) | |
download | wireguard-linux-02f5b98951c631a3c4b3cc398dd2b14d274a6155.tar.xz wireguard-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 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions