From: Stephen Warren Date: Wed, 22 Feb 2012 21:26:00 +0000 (-0700) Subject: pinctrl: allocate sizeof(*p) instead of sizeof(struct foo) X-Git-Tag: v3.4-rc1~128^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f5b98951c631a3c4b3cc398dd2b14d274a6155;p=pandora-kernel.git 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 Acked-by: Dong Aisheng Signed-off-by: Linus Walleij --- Reading git-diff-tree failed