diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-20 14:15:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-20 14:15:18 -0400 |
commit | 9f9d2760da8c7f94fae119fac3e13d5a1702f8f0 (patch) | |
tree | e244a2969edceff750478e7d98355b76ef30aa0f /drivers/char | |
parent | ad2a8e6078a16d3b61b530f1447110841c36ae56 (diff) | |
parent | b222258ac11cae3e0350fe5992ad164a7b128103 (diff) |
Merge tag 'char-misc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char and misc patches for 3.4-rc1 from Greg KH:
"Not much here, just a few minor fixes and some conversions to the
module_*_driver() functions, making the codebase smaller."
* tag 'char-misc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
misc: bmp085: Use unsigned long to store jiffies
char/ramoops: included linux/err.h twice
misc: bmp085: Handle jiffies overflow correctly
misc: fsa9480: Remove obsolete cleanup for clientdata
char: Fix typo in tlclk.c
char: Fix typo in viotape.c
cs5535-mfgpt: don't call __init function from __devinit
MISC: convert drivers/misc/* to use module_spi_driver()
MISC: convert drivers/misc/* to use module_i2c_driver()
MISC: convert drivers/misc/* to use module_platform_driver()
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ramoops.c | 1 | ||||
-rw-r--r-- | drivers/char/tlclk.c | 2 | ||||
-rw-r--r-- | drivers/char/viotape.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/ramoops.c b/drivers/char/ramoops.c index 9fec3232b736..2a5e45d2a9f8 100644 --- a/drivers/char/ramoops.c +++ b/drivers/char/ramoops.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | #include <linux/kmsg_dump.h> | 27 | #include <linux/kmsg_dump.h> |
28 | #include <linux/time.h> | 28 | #include <linux/time.h> |
29 | #include <linux/err.h> | ||
30 | #include <linux/io.h> | 29 | #include <linux/io.h> |
31 | #include <linux/ioport.h> | 30 | #include <linux/ioport.h> |
32 | #include <linux/platform_device.h> | 31 | #include <linux/platform_device.h> |
diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c index 0c964cdcc223..ce29e7cce528 100644 --- a/drivers/char/tlclk.c +++ b/drivers/char/tlclk.c | |||
@@ -797,7 +797,7 @@ static int __init tlclk_init(void) | |||
797 | telclk_interrupt = (inb(TLCLK_REG7) & 0x0f); | 797 | telclk_interrupt = (inb(TLCLK_REG7) & 0x0f); |
798 | 798 | ||
799 | if (0x0F == telclk_interrupt ) { /* not MCPBL0010 ? */ | 799 | if (0x0F == telclk_interrupt ) { /* not MCPBL0010 ? */ |
800 | printk(KERN_ERR "telclk_interrup = 0x%x non-mcpbl0010 hw.\n", | 800 | printk(KERN_ERR "telclk_interrupt = 0x%x non-mcpbl0010 hw.\n", |
801 | telclk_interrupt); | 801 | telclk_interrupt); |
802 | ret = -ENXIO; | 802 | ret = -ENXIO; |
803 | goto out3; | 803 | goto out3; |
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index ad6e64a2912d..8b34c65511eb 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c | |||
@@ -976,7 +976,7 @@ int __init viotap_init(void) | |||
976 | 976 | ||
977 | tape_class = class_create(THIS_MODULE, "tape"); | 977 | tape_class = class_create(THIS_MODULE, "tape"); |
978 | if (IS_ERR(tape_class)) { | 978 | if (IS_ERR(tape_class)) { |
979 | printk(VIOTAPE_KERN_WARN "Unable to allocat class\n"); | 979 | printk(VIOTAPE_KERN_WARN "Unable to allocate class\n"); |
980 | ret = PTR_ERR(tape_class); | 980 | ret = PTR_ERR(tape_class); |
981 | goto unreg_chrdev; | 981 | goto unreg_chrdev; |
982 | } | 982 | } |