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)
786
786
787
787
mutex_lock (& host -> host_mutex );
788
788
if (host -> req ) {
789
- dev_dbg (& ( pdev -> dev ),
789
+ dev_dbg (ms_dev ( host ),
790
790
"%s: Controller removed during transfer\n" ,
791
791
dev_name (& msh -> dev ));
792
792
host -> req -> error = - ENOMEDIUM ;
@@ -808,10 +808,10 @@ static int rtsx_usb_ms_drv_remove(struct platform_device *pdev)
808
808
if (pm_runtime_active (ms_dev (host )))
809
809
pm_runtime_put (ms_dev (host ));
810
810
811
- pm_runtime_disable (& pdev -> dev );
811
+ pm_runtime_disable (ms_dev ( host ) );
812
812
platform_set_drvdata (pdev , NULL );
813
813
814
- dev_dbg (& ( pdev -> dev ),
814
+ dev_dbg (ms_dev ( host ),
815
815
": Realtek USB Memstick controller has been removed\n" );
816
816
817
817
return 0 ;
You can’t perform that action at this time.
0 commit comments