OSDN Git Service

usb: musb: drop superfluous pm_runtime calls around musb_shutdown
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 12 Jan 2012 13:21:38 +0000 (15:21 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 09:52:18 +0000 (11:52 +0200)
commitf557978745bbea2e7305588d33aac60f4dd42447
treeed5dc075c0e9a72e68a628406cbc8d770eac580d
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
usb: musb: drop superfluous pm_runtime calls around musb_shutdown

Since commit 4f9edd2d7e8d "usb: musb: Fix the crash issue during reboot"
musb_shutdown() does pm_runtime_get_sync/pm_runtime_put by itself, so
this no longer needs to be done by the caller. Also, musb_exit_debugfs()
doesn't access the device, so just drop those runtime_pm calls.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c