summaryrefslogtreecommitdiff
path: root/arch/avr32/mach-at32ap/clock.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-02-16 13:14:33 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-02-16 13:14:33 +0100
commit7a5fe2387925405da0319330986184792ce48ad1 (patch)
treef9f3c3b4a20ff52ed63d3e83bb438136aaafa5db /arch/avr32/mach-at32ap/clock.c
parent160f34531a71fdbbdb593a094273711ffb1257d7 (diff)
[AVR32] Make sure all genclocks have a parent
Initialize the parent field of each generic clock by looking at the PM registers. This means that the genclock operations can always assume that the parent field is non-null, so they don't have to check. Also remove a few unnecessary BUG_ON()s. Extracted from a patch by David Brownell. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/clock.c')
0 files changed, 0 insertions, 0 deletions