]> git.baikalelectronics.ru Git - kernel.git/commit
clk: uniphier: fix type of variable passed to regmap_read()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 16 Oct 2016 15:25:55 +0000 (00:25 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 17 Oct 2016 22:20:52 +0000 (15:20 -0700)
commitb50ef4b0d1b4c4226dfff56562def2e0ba00fb7a
treed7d85b258053abd76b45cbeb09b6d6e541c1da06
parent29d4e1cf32e82a5bd493b321832ad62c70173597
clk: uniphier: fix type of variable passed to regmap_read()

The 3rd argument of regmap_read() takes a pointer to unsigned int.
This driver is saved just because u32 happens to be typedef'ed as
unsigned int, but we should not rely on that fact.  Change the
variable type just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/uniphier/clk-uniphier-mux.c