pwm: tegra: Drop NUM_PWM macro
authorThierry Reding <thierry.reding@gmail.com>
Mon, 11 Jul 2016 09:08:29 +0000 (11:08 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 11 Jul 2016 10:49:30 +0000 (12:49 +0200)
commitc009c56475a08fc8c0e1d4d4161bdcc76f3638b7
treecf02b1166995229e3e12dc7d9cdc202963f8d0b4
parentacfd92fdfb9384d54d9404101e8657e75c2372f3
pwm: tegra: Drop NUM_PWM macro

This macro is used to initialize the ->npwm field of the PWM chip. Use a
literal instead and make all other places rely on ->npwm.

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