PNP: convert the last few pnp_info() uses to printk()
There are only a few remaining uses of pnp_info(), so I just converted them to printk and removed the pnp_err(), pnp_info(), pnp_warn(), and pnp_dbg() wrappers. I also removed a couple debug messages that don't seem useful any more ("driver registered", "driver unregistered", "driver attached"). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -255,14 +255,14 @@ int pnpacpi_disabled __initdata;
|
||||
static int __init pnpacpi_init(void)
|
||||
{
|
||||
if (acpi_disabled || pnpacpi_disabled) {
|
||||
pnp_info("PnP ACPI: disabled");
|
||||
printk(KERN_INFO "pnp: PnP ACPI: disabled\n");
|
||||
return 0;
|
||||
}
|
||||
pnp_info("PnP ACPI init");
|
||||
printk(KERN_INFO "pnp: PnP ACPI init\n");
|
||||
pnp_register_protocol(&pnpacpi_protocol);
|
||||
register_acpi_bus_type(&acpi_pnp_bus);
|
||||
acpi_get_devices(NULL, pnpacpi_add_device_handler, NULL, NULL);
|
||||
pnp_info("PnP ACPI: found %d devices", num);
|
||||
printk(KERN_INFO "pnp: PnP ACPI: found %d devices\n", num);
|
||||
unregister_acpi_bus_type(&acpi_pnp_bus);
|
||||
pnp_platform_devices = 1;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user