PS3: replace bus_id usage
Subsystems (2)
From: Greg Kroah-Hartman <[email protected]>
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.
---
This fixes a built-breakage in linux-next. I'll be glad to keep this in my tree if you don't want to take it in yours, just let me know.
arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/ps3/system-bus.c +2 -2
@@ -376,7 +376,7 @@ static int ps3_system_bus_probe(struct dstruct ps3_system_bus_driver *drv;BUG_ON (!dev); -pr_debug (" -> %s:%d: %s\n" , __func__, __LINE__, _dev->bus_id); +dev_dbg (_dev,"%s:%d\n" , __func__, __LINE__); drv =ps3_system_bus_dev_to_system_bus_drv (dev);BUG_ON (!drv);
@@ -398,7 +398,7 @@ static int ps3_system_bus_remove(structstruct ps3_system_bus_driver *drv;BUG_ON (!dev); -pr_debug (" -> %s:%d: %s\n" , __func__, __LINE__, _dev->bus_id); +dev_dbg (_dev,"%s:%d\n" , __func__, __LINE__); drv =ps3_system_bus_dev_to_system_bus_drv (dev);BUG_ON (!drv);
Geoff Levand
Acked-byQuoted 11 lines · Greg KH
From: Greg Kroah-Hartman <[email protected]>
These simple debug statments should be using
dev_dbg()instead of accessingbus_iddirectly (or they should usedevice_name).As
bus_idis going away, this patch is necessary.Cc Geoff Levand <[email protected]>Cc Kay Sievers <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 7 lines
---
This fixes a built-breakage in linux-next. I'll be glad to keep this in my tree if you don't want to take it in yours, just let me know.
arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This looks OK. Greg, please merge it through your tree.
Quoted 17 lines · Geoff Levand
Quoted 16 lines · Greg KH
From: Greg Kroah-Hartman <[email protected]>
These simple debug statments should be using
dev_dbg()instead of accessingbus_iddirectly (or they should usedevice_name).As
bus_idis going away, this patch is necessary.Cc Geoff Levand <[email protected]>Cc Kay Sievers <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>---
This fixes a built-breakage in linux-next. I'll be glad to keep this in my tree if you don't want to take it in yours, just let me know.
Quoted 6 lines
Quoted 2 lines
arch/powerpc/platforms/ps3/system-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)This looks OK. Greg, please merge it through your tree.
Acked-by Geoff Levand <[email protected]>
Thanks, I will do that.
greg k-h