Skip to content

Commit 54ca541

Browse files
committed
PS3: replace bus_id usage
These simple debug statments should be using dev_dbg() instead of accessing bus_id directly (or they should use device_name). As bus_id is going away, this patch is necessary. Acked-by: Geoff Levand <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5df5852 commit 54ca541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/platforms/ps3/system-bus.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ static int ps3_system_bus_probe(struct device *_dev)
376376
struct ps3_system_bus_driver *drv;
377377

378378
BUG_ON(!dev);
379-
pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
379+
dev_dbg(_dev, "%s:%d\n", __func__, __LINE__);
380380

381381
drv = ps3_system_bus_dev_to_system_bus_drv(dev);
382382
BUG_ON(!drv);
@@ -398,7 +398,7 @@ static int ps3_system_bus_remove(struct device *_dev)
398398
struct ps3_system_bus_driver *drv;
399399

400400
BUG_ON(!dev);
401-
pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
401+
dev_dbg(_dev, "%s:%d\n", __func__, __LINE__);
402402

403403
drv = ps3_system_bus_dev_to_system_bus_drv(dev);
404404
BUG_ON(!drv);

0 commit comments

Comments
 (0)