pwm: atmel: Consolidate driver data initialization
authorThierry Reding <thierry.reding@gmail.com>
Fri, 20 Sep 2019 23:58:58 +0000 (01:58 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Sat, 21 Sep 2019 01:25:11 +0000 (03:25 +0200)
commit9193c16e5a9899e742a862a0fec9bb5235008370
tree65b8fffb28933b553e87d547c21d6f8f6ef392aa
parentd85b9ce198e3689141cce965cb840f1c435ac4d5
pwm: atmel: Consolidate driver data initialization

This helps readability by separating the driver-specific bits from the
PWM framework bits.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel.c