clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 22 Aug 2016 16:08:21 +0000 (16:08 +0000)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Aug 2016 07:55:13 +0000 (00:55 -0700)
commit718cc4b60ff279c0d6169d109e22cb107b23e312
tree0c370acae2a52bb4d9d14fe5e13671671a711905
parentf8c11f79912db52c8d90ce748094b4d411f36782
clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_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 <weiyongjun1@huawei.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Fixes: f8c11f79912d ("clk: meson: Add GXBB AO Clock and Reset controller driver")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/meson/gxbb-aoclk.c