sh-pfc: sh_pfc_probe() sizeof() fix
authorMagnus Damm <damm@opensource.se>
Thu, 14 Feb 2013 12:23:47 +0000 (21:23 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Sat, 16 Feb 2013 01:58:50 +0000 (10:58 +0900)
commit8c43fcc7804fc4609ccd9fa021e21f5423db9d96
treef60eb9aa77e185c743d86a9bdac8caa33b5b0b38
parentc3323806a67c0c656e27956b7340e37ba6c6968b
sh-pfc: sh_pfc_probe() sizeof() fix

Fix sizeof() usage in sh-pfc/core.c to allocate space
for the full data structure instead of a pointer.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/core.c