pwm: fix pwm_get_period_default

Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>
trivial arch-atmega/pwm.c: fix indentation

Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>