Commit 10a29304 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck

[WATCHDOG] Mixcom Watchdog - CodingStyle clean-up

Small clean-up in line with CodingStyle guide-lines.
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 27c7742e
...@@ -229,8 +229,7 @@ static int mixcomwd_ioctl(struct inode *inode, struct file *file, ...@@ -229,8 +229,7 @@ static int mixcomwd_ioctl(struct inode *inode, struct file *file,
return 0; return 0;
} }
static const struct file_operations mixcomwd_fops= static const struct file_operations mixcomwd_fops = {
{
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek, .llseek = no_llseek,
.write = mixcomwd_write, .write = mixcomwd_write,
...@@ -239,8 +238,7 @@ static const struct file_operations mixcomwd_fops= ...@@ -239,8 +238,7 @@ static const struct file_operations mixcomwd_fops=
.release = mixcomwd_release, .release = mixcomwd_release,
}; };
static struct miscdevice mixcomwd_miscdev= static struct miscdevice mixcomwd_miscdev = {
{
.minor = WATCHDOG_MINOR, .minor = WATCHDOG_MINOR,
.name = "watchdog", .name = "watchdog",
.fops = &mixcomwd_fops, .fops = &mixcomwd_fops,
...@@ -292,7 +290,8 @@ static int __init mixcomwd_init(void) ...@@ -292,7 +290,8 @@ static int __init mixcomwd_init(void)
goto error_misc_register_watchdog; goto error_misc_register_watchdog;
} }
printk(KERN_INFO "MixCOM watchdog driver v%s, watchdog port at 0x%3x\n",VERSION,watchdog_port); printk(KERN_INFO "MixCOM watchdog driver v%s, watchdog port at 0x%3x\n",
VERSION, watchdog_port);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment