ARM: OMAP2+: Remove bogus struct clk comparison for timer clock
authorTony Lindgren <[email protected]>
Mon, 11 May 2015 20:18:19 +0000 (13:18 -0700)
committerTony Lindgren <[email protected]>
Mon, 11 May 2015 20:18:19 +0000 (13:18 -0700)
commitb0897972edfa42b4af5c3189b2b7a7fac5867828
tree11501ca06704068c543f0ef96ea9e4aa31e487ce
parente7309c2673a389a495fcfad70376d3bae8b9bc89
ARM: OMAP2+: Remove bogus struct clk comparison for timer clock

With recent changes to use determine_rate, the comparison of two
clocks won't work without clk_is_match that does __clk_get_hw
on the clocks first.

As we've been unconditionally already calling clk_set_parent
already because of the bogus comparison, let's just remove the
check as suggested by Stephen Boyd <[email protected]>.

Cc: Michael Turquette <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Tero Kristo <[email protected]>
Cc: Tomeu Vizoso <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
arch/arm/mach-omap2/timer.c