projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0b5df
)
hwmon: (applesmc) Silence driver
author
Henrik Rydberg
<rydberg@euromail.se>
Tue, 9 Nov 2010 15:15:10 +0000
(15:15 +0000)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Sat, 8 Jan 2011 18:55:44 +0000
(10:55 -0800)
Make the driver report a single line on success.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/applesmc.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/applesmc.c
b/drivers/hwmon/applesmc.c
index
ec06b99
..
bcdf5bc
100644
(file)
--- a/
drivers/hwmon/applesmc.c
+++ b/
drivers/hwmon/applesmc.c
@@
-1281,8
+1281,6
@@
static int __init applesmc_init(void)
goto out_light_ledclass;
}
- pr_info("driver successfully loaded\n");
-
return 0;
out_light_ledclass:
@@
-1323,8
+1321,6
@@
static void __exit applesmc_exit(void)
platform_device_unregister(pdev);
platform_driver_unregister(&applesmc_driver);
release_region(APPLESMC_DATA_PORT, APPLESMC_NR_PORTS);
-
- pr_info("driver unloaded\n");
}
module_init(applesmc_init);