diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-08 06:27:40 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 11:20:25 -0400 |
commit | 06b3a1d12f41b592972643f8b84015d6c03dc576 (patch) | |
tree | 9c2e9450a74f3cea78d8819bfcd305f3f6c40b0d /drivers/isdn/hisax | |
parent | 2e9b981a7c63ee8278df6823f8389d69dad1a499 (diff) |
pcmcia: avoid messages on module (un)loading
printk() statements on module load or unload are frowned upon. Also,
add a few __init or __exit declarations.
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/isdn/hisax')
-rw-r--r-- | drivers/isdn/hisax/avma1_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/avma1_cs.c b/drivers/isdn/hisax/avma1_cs.c index 314bc86bf92b..62616c871c78 100644 --- a/drivers/isdn/hisax/avma1_cs.c +++ b/drivers/isdn/hisax/avma1_cs.c | |||
@@ -220,7 +220,7 @@ static struct pcmcia_driver avma1cs_driver = { | |||
220 | 220 | ||
221 | static int __init init_avma1_cs(void) | 221 | static int __init init_avma1_cs(void) |
222 | { | 222 | { |
223 | return(pcmcia_register_driver(&avma1cs_driver)); | 223 | return pcmcia_register_driver(&avma1cs_driver); |
224 | } | 224 | } |
225 | 225 | ||
226 | static void __exit exit_avma1_cs(void) | 226 | static void __exit exit_avma1_cs(void) |