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;
|
goto out_light_ledclass;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info("driver successfully loaded\n");
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
out_light_ledclass:
|
out_light_ledclass:
|
||||||
@ -1323,8 +1321,6 @@ static void __exit applesmc_exit(void)
|
|||||||
platform_device_unregister(pdev);
|
platform_device_unregister(pdev);
|
||||||
platform_driver_unregister(&applesmc_driver);
|
platform_driver_unregister(&applesmc_driver);
|
||||||
release_region(APPLESMC_DATA_PORT, APPLESMC_NR_PORTS);
|
release_region(APPLESMC_DATA_PORT, APPLESMC_NR_PORTS);
|
||||||
|
|
||||||
pr_info("driver unloaded\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(applesmc_init);
|
module_init(applesmc_init);
|
||||||
|
Loading…
Reference in New Issue
Block a user