mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
hwmon: (applesmc) Silence driver
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>
This commit is contained in:
parent
0b0b5dff89
commit
0b8ad5a57b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user