summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2007-06-04 19:13:28 +0000
committerWim Van Sebroeck <wim@iguana.be>2007-06-04 19:19:45 +0000
commit10a29304f496ddef58473e6c53b5e66d9685536d (patch)
tree590f827a29dab47e4aa610be4ed5c266d9f56d16 /drivers
parent27c7742e7ae089377f984cde608ba02d1c544a97 (diff)
downloadop-kernel-dev-10a29304f496ddef58473e6c53b5e66d9685536d.zip
op-kernel-dev-10a29304f496ddef58473e6c53b5e66d9685536d.tar.gz
[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')
-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 59a3baa..db2ccb8 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,
return 0;
}
-static const struct file_operations mixcomwd_fops=
-{
+static const struct file_operations mixcomwd_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = mixcomwd_write,
@@ -239,8 +238,7 @@ static const struct file_operations mixcomwd_fops=
.release = mixcomwd_release,
};
-static struct miscdevice mixcomwd_miscdev=
-{
+static struct miscdevice mixcomwd_miscdev = {
.minor = WATCHDOG_MINOR,
.name = "watchdog",
.fops = &mixcomwd_fops,
@@ -292,7 +290,8 @@ static int __init mixcomwd_init(void)
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;
OpenPOWER on IntegriCloud