aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-atmel.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-05-10 14:06:39 +0000
committerThierry Reding <[email protected]>2021-05-25 16:18:25 +0000
commit69230cfac3d02c1b8d78aa7bdb29a1710147d49b (patch)
tree942a8aa1913822a1c78ea7c9502f8af1c9f39eb1 /drivers/pwm/pwm-atmel.c
parentpwm: Drop of_pwm_simple_xlate() in favour of of_pwm_xlate_with_flags() (diff)
downloadkernel-69230cfac3d02c1b8d78aa7bdb29a1710147d49b.tar.gz
kernel-69230cfac3d02c1b8d78aa7bdb29a1710147d49b.zip
pwm: Autodetect default value for of_pwm_n_cells from device tree
This allows to simplify all drivers that use three pwm-cells. The only ugly side effect is that if a driver specified of_pwm_n_cells = 2 it suddenly supports device trees that use #pwm-cells = <3>. This however isn't a bad thing because the driver doesn't need explicit support for three cells as the core handles all the details. Also there is no such in-tree driver. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel.c')
0 files changed, 0 insertions, 0 deletions