File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -786,7 +786,7 @@ static int rtsx_usb_ms_drv_remove(struct platform_device *pdev)
786786
787787 mutex_lock (& host -> host_mutex );
788788 if (host -> req ) {
789- dev_dbg (& ( pdev -> dev ),
789+ dev_dbg (ms_dev ( host ),
790790 "%s: Controller removed during transfer\n" ,
791791 dev_name (& msh -> dev ));
792792 host -> req -> error = - ENOMEDIUM ;
@@ -808,10 +808,10 @@ static int rtsx_usb_ms_drv_remove(struct platform_device *pdev)
808808 if (pm_runtime_active (ms_dev (host )))
809809 pm_runtime_put (ms_dev (host ));
810810
811- pm_runtime_disable (& pdev -> dev );
811+ pm_runtime_disable (ms_dev ( host ) );
812812 platform_set_drvdata (pdev , NULL );
813813
814- dev_dbg (& ( pdev -> dev ),
814+ dev_dbg (ms_dev ( host ),
815815 ": Realtek USB Memstick controller has been removed\n" );
816816
817817 return 0 ;
You can’t perform that action at this time.
0 commit comments