]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: exynos5440: fix invalid use of sizeof in exynos5440_pinctrl_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 14 Mar 2013 13:59:38 +0000 (21:59 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 21:23:47 +0000 (22:23 +0100)
commit71861f571646c56b30448f38fb2763a711f604cc
tree9928b7288622127d6ca905f604dc2a2752d176fa
parent5a1c5fee7d33b0f1065172d1a534b2c3b2d163c4
pinctrl: exynos5440: fix invalid use of sizeof in exynos5440_pinctrl_probe()

sizeof() when applied to a pointer typed expression gives the
size of the pointer, not that of the pointed data.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-exynos5440.c