aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2007-06-04 15:13:28 -0400
committerWim Van Sebroeck <wim@iguana.be>2007-06-04 15:19:45 -0400
commit10a29304f496ddef58473e6c53b5e66d9685536d (patch)
tree590f827a29dab47e4aa610be4ed5c266d9f56d16
parent27c7742e7ae089377f984cde608ba02d1c544a97 (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>
-rw-r--r--drivers/char/watchdog/mixcomwd.c9
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
232static const struct file_operations mixcomwd_fops= 232static 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
242static struct miscdevice mixcomwd_miscdev= 241static 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