diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v10/drivers/pcf8563.c | 4 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/pcf8563.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/cris/arch-v10/drivers/pcf8563.c b/arch/cris/arch-v10/drivers/pcf8563.c index d47cfbf98d6e..1de0026bb94e 100644 --- a/arch/cris/arch-v10/drivers/pcf8563.c +++ b/arch/cris/arch-v10/drivers/pcf8563.c | |||
@@ -180,9 +180,7 @@ err: | |||
180 | void __exit | 180 | void __exit |
181 | pcf8563_exit(void) | 181 | pcf8563_exit(void) |
182 | { | 182 | { |
183 | if (unregister_chrdev(PCF8563_MAJOR, DEVICE_NAME) < 0) { | 183 | unregister_chrdev(PCF8563_MAJOR, DEVICE_NAME); |
184 | printk(KERN_INFO "%s: Unable to unregister device.\n", PCF8563_NAME); | ||
185 | } | ||
186 | } | 184 | } |
187 | 185 | ||
188 | /* | 186 | /* |
diff --git a/arch/cris/arch-v32/drivers/pcf8563.c b/arch/cris/arch-v32/drivers/pcf8563.c index fa8d50007e4c..da479a14f836 100644 --- a/arch/cris/arch-v32/drivers/pcf8563.c +++ b/arch/cris/arch-v32/drivers/pcf8563.c | |||
@@ -193,9 +193,7 @@ err: | |||
193 | void __exit | 193 | void __exit |
194 | pcf8563_exit(void) | 194 | pcf8563_exit(void) |
195 | { | 195 | { |
196 | if (unregister_chrdev(PCF8563_MAJOR, DEVICE_NAME) < 0) { | 196 | unregister_chrdev(PCF8563_MAJOR, DEVICE_NAME); |
197 | printk(KERN_INFO "%s: Unable to unregister device.\n", PCF8563_NAME); | ||
198 | } | ||
199 | } | 197 | } |
200 | 198 | ||
201 | /* | 199 | /* |