Skip to contentSkip to conversation

eicon/capifunc: replace

PATCH New Nishanth Aravamudan 1 participant 1 message Jul 23, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eicon/capifunc: replace

I would appreciate any comments from the janitors list.

Thanks,
Nish

Applys-to: 2.6.7

Description: Replace diva_os_sleep() with msleep() in all instances.

drivers/isdn/hardware/eicon/capifunc.c +2 -2
@@ -696,7 +696,7 @@ static int diva_add_card(DESCRIPTOR * d)
 	while (i++ < 30) {
 		if (a->automatic_law > 3)
 			break;
-		diva_os_sleep(10);
+		msleep(10);
 	}
 
 	/* profile information */
@@ -1170,7 +1170,7 @@ static void do_api_remove_start(void)
 		ret = api_remove_start();
 		diva_os_leave_spin_lock(&api_lock, &old_irql, "api remove start");
 
-		diva_os_sleep(10);
+		msleep(10);
 	} while (ret && count--);
 
 	if (ret)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors