mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-15 02:19:30 -04:00
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: FS#735 Signed-off-by: Mathias Kresin <dev@kresin.me>