diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-08 14:27:40 +0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 19:20:25 +0400 |
commit | 06b3a1d12f41b592972643f8b84015d6c03dc576 (patch) | |
tree | 9c2e9450a74f3cea78d8819bfcd305f3f6c40b0d /drivers/isdn/hisax | |
parent | 2e9b981a7c63ee8278df6823f8389d69dad1a499 (diff) | |
download | linux-06b3a1d12f41b592972643f8b84015d6c03dc576.tar.xz |
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 = { static int __init init_avma1_cs(void) { - return(pcmcia_register_driver(&avma1cs_driver)); + return pcmcia_register_driver(&avma1cs_driver); } static void __exit exit_avma1_cs(void) |