mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-09 22:27:28 +03:00
Style fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8761 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1fe90486fd
commit
969318c24f
@ -59,7 +59,7 @@ struct ar7_wdt {
|
|||||||
u32 kick_lock;
|
u32 kick_lock;
|
||||||
u32 kick;
|
u32 kick;
|
||||||
u32 change_lock;
|
u32 change_lock;
|
||||||
u32 change ;
|
u32 change;
|
||||||
u32 disable_lock;
|
u32 disable_lock;
|
||||||
u32 disable;
|
u32 disable;
|
||||||
u32 prescale_lock;
|
u32 prescale_lock;
|
||||||
@ -186,13 +186,13 @@ static int ar7_wdt_open(struct inode *inode, struct file *file)
|
|||||||
|
|
||||||
static int ar7_wdt_release(struct inode *inode, struct file *file)
|
static int ar7_wdt_release(struct inode *inode, struct file *file)
|
||||||
{
|
{
|
||||||
if (!expect_close) {
|
if (!expect_close)
|
||||||
printk(KERN_WARNING DRVNAME
|
printk(KERN_WARNING DRVNAME
|
||||||
": watchdog device closed unexpectedly,"
|
": watchdog device closed unexpectedly,"
|
||||||
"will not disable the watchdog timer\n");
|
"will not disable the watchdog timer\n");
|
||||||
} else if (!nowayout) {
|
else if (!nowayout)
|
||||||
ar7_wdt_disable_wdt();
|
ar7_wdt_disable_wdt();
|
||||||
}
|
|
||||||
up(&open_semaphore);
|
up(&open_semaphore);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user