diff mbox series

[U-Boot,v5,3/5] usb: storage: submit_int_msg -> usb_int_msg

Message ID 3d8c3e144a7cc47cc72433af3f4467dc7924a2d6.1566118415.git.msuchanek@suse.de
State Accepted
Commit 50dce8fbf0c8b6f55e32c8d2d08ccf6e58168027
Delegated to: Marek Vasut
Headers show
Series [U-Boot,v5,1/5] usb_kdb: only process events successfully received | expand

Commit Message

Michal Suchanek Aug. 18, 2019, 8:55 a.m. UTC
Use the wrapper as other callers do.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
v2: usb_submit_int_msg -> usb_int_msg
v3: fix indentation
v5: fix superfluous space in type cast
---
 common/usb_storage.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/common/usb_storage.c b/common/usb_storage.c
index 8c889bb1a648..9a4155c08a16 100644
--- a/common/usb_storage.c
+++ b/common/usb_storage.c
@@ -650,8 +650,8 @@  static int usb_stor_CBI_get_status(struct scsi_cmd *srb, struct us_data *us)
 	int timeout;
 
 	us->ip_wanted = 1;
-	submit_int_msg(us->pusb_dev, us->irqpipe,
-			(void *) &us->ip_data, us->irqmaxp, us->irqinterval);
+	usb_int_msg(us->pusb_dev, us->irqpipe,
+		    (void *)&us->ip_data, us->irqmaxp, us->irqinterval);
 	timeout = 1000;
 	while (timeout--) {
 		if (us->ip_wanted == 0)