Re: [PATCH 2/2] drivers: clk: st: address sparse warnings

2018-07-25 Thread Nicholas Mc Guire
On Wed, Jul 25, 2018 at 01:40:53PM -0700, Stephen Boyd wrote: > Quoting Nicholas Mc Guire (2018-07-15 03:18:24) > > Refactoring of code to make it more readable and at the same time make > > sparse happy again. > > > > Signed-off-by: Nicholas Mc Guire > > --- > > > > sparse complained about: >

Re: [PATCH 2/2] drivers: clk: st: address sparse warnings

2018-07-25 Thread Stephen Boyd
Quoting Nicholas Mc Guire (2018-07-15 03:18:24) > Refactoring of code to make it more readable and at the same time make > sparse happy again. > > Signed-off-by: Nicholas Mc Guire > --- > > sparse complained about: > drivers/clk/st/clkgen-pll.c:225:12: warning: context imbalance in > 'clkgen_p

[PATCH 2/2] drivers: clk: st: address sparse warnings

2018-07-15 Thread Nicholas Mc Guire
Refactoring of code to make it more readable and at the same time make sparse happy again. Signed-off-by: Nicholas Mc Guire --- sparse complained about: drivers/clk/st/clkgen-pll.c:225:12: warning: context imbalance in 'clkgen_pll_enable' - different lock contexts for basic block drivers/clk/s