omap2 clock: omap2 clock.c: Consolidate wait-for-lock code
omap2 clock.c contains two nearly identical wait-for-clock-enable routines. Consolidate them into one omap2_wait_clock_ready() function. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Showing
Please register or sign in to comment