clocksource/drivers/timer-atmel-tcb: Fill tcb_config
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 10 Jul 2020 23:08:10 +0000 (01:08 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 11 Jul 2020 16:58:04 +0000 (18:58 +0200)
commitd2c60dcf86fabb542b96b4444ca81be0b1b30099
tree010211d20e388b03aef44f3f33c3a39cbb149522
parent228e21848623e0ce54a1a3d7857b444813e49b2e
clocksource/drivers/timer-atmel-tcb: Fill tcb_config

Use the tcb_config and struct atmel_tcb_config to get the timer counter
width. This is necessary because atmel_tcb_config will be extended later
on.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200710230813.1005150-7-alexandre.belloni@bootlin.com
drivers/clocksource/timer-atmel-tcb.c