pwm: atmel: Use register accessors for channels
authorUwe Kleine-König <uwe@kleine-koenig.org>
Sat, 24 Aug 2019 00:10:40 +0000 (02:10 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 8 Jan 2020 12:44:51 +0000 (13:44 +0100)
commit02afb811e0cf96958ac69c4b3372088180c829a7
treee4215e0a177e817bec1fc66cbd97590dec9572fd
parent998d189a817b8aae5b9e416c40dcb35b1fd79d3c
pwm: atmel: Use register accessors for channels

This makes it a bit easier when instrumenting register access to only
have to add code in one place.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel.c