pwm: tiehrpwm: Fix runtime PM imbalance at unbind
authorJohan Hovold <johan@kernel.org>
Thu, 20 Jul 2017 10:48:16 +0000 (12:48 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 21 Aug 2017 06:11:25 +0000 (08:11 +0200)
commitc7fdd3f52944b81d807ce7a5fde7d1ca8a2a0919
tree12138aa6f1234e5381468669871caf97d0897a13
parentcd9b53daafaa635219b46a79f00177ddd3081e4f
pwm: tiehrpwm: Fix runtime PM imbalance at unbind

Remove unbalanced RPM put at driver unbind which resulted in a negative
usage count.

Fixes: 19891b20e7c2 ("pwm: pwm-tiehrpwm: PWM driver support for EHRPWM")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-tiehrpwm.c