mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
PCI: shpchp: Remove logging from module init/exit functions
The logging in shpchp module init/exit functions is not very useful. Remove it. Link: https://lore.kernel.org/r/20241216161012.1774-2-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
2014c95afe
commit
7d5f1e615e
|
|
@ -324,20 +324,12 @@ static struct pci_driver shpc_driver = {
|
|||
|
||||
static int __init shpcd_init(void)
|
||||
{
|
||||
int retval;
|
||||
|
||||
retval = pci_register_driver(&shpc_driver);
|
||||
dbg("%s: pci_register_driver = %d\n", __func__, retval);
|
||||
info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
|
||||
|
||||
return retval;
|
||||
return pci_register_driver(&shpc_driver);
|
||||
}
|
||||
|
||||
static void __exit shpcd_cleanup(void)
|
||||
{
|
||||
dbg("unload_shpchpd()\n");
|
||||
pci_unregister_driver(&shpc_driver);
|
||||
info(DRIVER_DESC " version: " DRIVER_VERSION " unloaded\n");
|
||||
}
|
||||
|
||||
module_init(shpcd_init);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user