]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite668f32d8b03d9b061cfac1ab9fa8656b8267886
tree5a3c1b1c1d20384c88de221908a5295c98b0f60d
parentc1901b82f2ba9180cc1bc09fbe3794f3385baecd
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