clk: pxa: Use __iomem properly and staticize lock variable
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 8 Nov 2016 22:47:56 +0000 (14:47 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 9 Nov 2016 20:43:19 +0000 (12:43 -0800)
commit84558ff77067e761e9e1bc70fff79079c12d5ac9
tree5104e1cbe757b98695eedf4cfab20c609cc79348
parent295face99be9c1a214c2a80c2c6a889dbff5e1cf
clk: pxa: Use __iomem properly and staticize lock variable

This function is passed an __iomem pointer but we use a u32
pointer instead which makes checkers like spare complain.
Furthermore, "lock" is a pretty poor variable name for a string
that will go into lockdep reports and the symbol isn't marked
static. Cleanup all this.

Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/pxa/clk-pxa.c
drivers/clk/pxa/clk-pxa.h