mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-19 06:54:58 +01:00
Style fixes
SVN-Revision: 8761
This commit is contained in:
parent
89333ac8f7
commit
339eba5fbd
@ -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…
Reference in New Issue
Block a user