avr32: handle NULL as a valid clock object
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Jul 2015 10:49:48 +0000 (13:49 +0300)
committerHans-Christian Egtvedt <egtvedt@samfundet.no>
Mon, 27 Jul 2015 07:14:07 +0000 (09:14 +0200)
Since NULL is used as valid clock object on optional clocks we have to handle
this case in avr32 implementation as well.

Fixes: e1824dfe0d8e (net: macb: Adjust tx_clk when link speed changes)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
arch/avr32/mach-at32ap/clock.c

Simple merge