]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PCI: shpchp: Change dbg() -> ctrl_dbg()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 16 Dec 2024 16:10:10 +0000 (18:10 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Feb 2025 22:54:37 +0000 (16:54 -0600)
Convert the last user of dbg() to use ctrl_dbg().

Link: https://lore.kernel.org/r/20241216161012.1774-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/shpchp_hpc.c

index 012b9e3fe5b0e291832c3d8fec75b52789264b4b..bfbec7c1a6b11a399e2750601f3eadace5c36349 100644 (file)
@@ -675,7 +675,7 @@ static int shpc_get_cur_bus_speed(struct controller *ctrl)
 
  out:
        bus->cur_bus_speed = bus_speed;
-       dbg("Current bus speed = %d\n", bus_speed);
+       ctrl_dbg(ctrl, "Current bus speed = %d\n", bus_speed);
        return retval;
 }