diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2007-06-04 15:13:28 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-06-04 15:19:45 -0400 |
commit | 10a29304f496ddef58473e6c53b5e66d9685536d (patch) | |
tree | 590f827a29dab47e4aa610be4ed5c266d9f56d16 /drivers/char | |
parent | 27c7742e7ae089377f984cde608ba02d1c544a97 (diff) |
[WATCHDOG] Mixcom Watchdog - CodingStyle clean-up
Small clean-up in line with CodingStyle guide-lines.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/watchdog/mixcomwd.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/char/watchdog/mixcomwd.c b/drivers/char/watchdog/mixcomwd.c index 59a3baadc704..db2ccb864412 100644 --- a/drivers/char/watchdog/mixcomwd.c +++ b/drivers/char/watchdog/mixcomwd.c | |||
@@ -229,8 +229,7 @@ static int mixcomwd_ioctl(struct inode *inode, struct file *file, | |||
229 | return 0; | 229 | return 0; |
230 | } | 230 | } |
231 | 231 | ||
232 | static const struct file_operations mixcomwd_fops= | 232 | static const struct file_operations mixcomwd_fops = { |
233 | { | ||
234 | .owner = THIS_MODULE, | 233 | .owner = THIS_MODULE, |
235 | .llseek = no_llseek, | 234 | .llseek = no_llseek, |
236 | .write = mixcomwd_write, | 235 | .write = mixcomwd_write, |
@@ -239,8 +238,7 @@ static const struct file_operations mixcomwd_fops= | |||
239 | .release = mixcomwd_release, | 238 | .release = mixcomwd_release, |
240 | }; | 239 | }; |
241 | 240 | ||
242 | static struct miscdevice mixcomwd_miscdev= | 241 | static struct miscdevice mixcomwd_miscdev = { |
243 | { | ||
244 | .minor = WATCHDOG_MINOR, | 242 | .minor = WATCHDOG_MINOR, |
245 | .name = "watchdog", | 243 | .name = "watchdog", |
246 | .fops = &mixcomwd_fops, | 244 | .fops = &mixcomwd_fops, |
@@ -292,7 +290,8 @@ static int __init mixcomwd_init(void) | |||
292 | goto error_misc_register_watchdog; | 290 | goto error_misc_register_watchdog; |
293 | } | 291 | } |
294 | 292 | ||
295 | printk(KERN_INFO "MixCOM watchdog driver v%s, watchdog port at 0x%3x\n",VERSION,watchdog_port); | 293 | printk(KERN_INFO "MixCOM watchdog driver v%s, watchdog port at 0x%3x\n", |
294 | VERSION, watchdog_port); | ||
296 | 295 | ||
297 | return 0; | 296 | return 0; |
298 | 297 | ||