down_trylock -> down_try in drivers/watchdog/it8712f_wdt.c

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 drivers/watchdog/it8712f_wdt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 23ec3abafc33 drivers/watchdog/it8712f_wdt.c
--- a/drivers/watchdog/it8712f_wdt.c	Tue May 06 10:17:33 2008 +1000
+++ b/drivers/watchdog/it8712f_wdt.c	Tue May 06 10:25:42 2008 +1000
@@ -306,7 +306,7 @@ it8712f_wdt_open(struct inode *inode, st
 it8712f_wdt_open(struct inode *inode, struct file *file)
 {
 	/* only allow one at a time */
-	if (down_trylock(&it8712f_wdt_sem))
+	if (!down_try(&it8712f_wdt_sem))
 		return -EBUSY;
 	it8712f_wdt_enable();
 
