pwm: pwm-tipwmss: Remove all runtime PM gets/puts
authorJyri Sarha <jsarha@ti.com>
Mon, 8 Aug 2016 10:09:15 +0000 (15:39 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 6 Sep 2016 08:48:54 +0000 (10:48 +0200)
commit549c50af251969ecc8de1f773921c2a861fd240b
treea3b64dc972739ba2708cbc0a19900d5f18192b7e
parent065cfbbb638cce3d388020c4b97813b4a904a7c3
pwm: pwm-tipwmss: Remove all runtime PM gets/puts

Remove all pm_runtime_get_sync() and pm_runtime_put_sync() call as well
as the dummy pm_ops from the pwm-tipwmss driver. No registers are being
modified. The runtime PM still needs to be enabled, so that the runtime
PM framework can take care of enabling/disabling the PWMSS clock when
submodules of PWMSS (ECAP or EHRPWM) call runtime PM APIs. With this
change PWMSS clock goes to idle when none of the submodules are in use.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-tipwmss.c