Bluetooth: hci_nokia: remove duplicate call to pm_runtime_disable()
authorIan Molton <ian@mnementh.co.uk>
Sat, 8 Jul 2017 13:43:35 +0000 (14:43 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 20 Jul 2017 09:18:36 +0000 (11:18 +0200)
commita529df8207b4dbc1a6ffd89d228afdcde042c97e
tree5a3c1b1c1d20384c88de221908a5295c98b0f60d
parentca2eae7d25a1d3c7c675808fa907188e6a099537
Bluetooth: hci_nokia: remove duplicate call to pm_runtime_disable()

pm_runtime_disable() is called in the _close() handler.

Since we call the _close() handler on remove, there is no need to
call pm_runtime_disable() a second time.

Signed-off-by: Ian Molton <ian@mnementh.co.uk>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_nokia.c