Commit 88b90c96 authored by Geoff Levand's avatar Geoff Levand Committed by Benjamin Herrenschmidt

powerpc/ps3: Quiet system bus match output

Reduce the output verbosity of ps3_system_bus_match().
Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 2c3e4787
...@@ -349,9 +349,14 @@ static int ps3_system_bus_match(struct device *_dev, ...@@ -349,9 +349,14 @@ static int ps3_system_bus_match(struct device *_dev,
result = dev->match_id == drv->match_id; result = dev->match_id == drv->match_id;
pr_info("%s:%d: dev=%u(%s), drv=%u(%s): %s\n", __func__, __LINE__, if (result)
dev->match_id, dev->core.bus_id, drv->match_id, drv->core.name, pr_info("%s:%d: dev=%u(%s), drv=%u(%s): match\n", __func__,
(result ? "match" : "miss")); __LINE__, dev->match_id, dev->core.bus_id,
drv->match_id, drv->core.name);
else
pr_debug("%s:%d: dev=%u(%s), drv=%u(%s): miss\n", __func__,
__LINE__, dev->match_id, dev->core.bus_id,
drv->match_id, drv->core.name);
return result; return result;
} }
...@@ -362,7 +367,7 @@ static int ps3_system_bus_probe(struct device *_dev) ...@@ -362,7 +367,7 @@ static int ps3_system_bus_probe(struct device *_dev)
struct ps3_system_bus_driver *drv; struct ps3_system_bus_driver *drv;
BUG_ON(!dev); BUG_ON(!dev);
pr_info(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id); pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
drv = ps3_system_bus_dev_to_system_bus_drv(dev); drv = ps3_system_bus_dev_to_system_bus_drv(dev);
BUG_ON(!drv); BUG_ON(!drv);
...@@ -370,10 +375,10 @@ static int ps3_system_bus_probe(struct device *_dev) ...@@ -370,10 +375,10 @@ static int ps3_system_bus_probe(struct device *_dev)
if (drv->probe) if (drv->probe)
result = drv->probe(dev); result = drv->probe(dev);
else else
pr_info("%s:%d: %s no probe method\n", __func__, __LINE__, pr_debug("%s:%d: %s no probe method\n", __func__, __LINE__,
dev->core.bus_id); dev->core.bus_id);
pr_info(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id); pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id);
return result; return result;
} }
...@@ -384,7 +389,7 @@ static int ps3_system_bus_remove(struct device *_dev) ...@@ -384,7 +389,7 @@ static int ps3_system_bus_remove(struct device *_dev)
struct ps3_system_bus_driver *drv; struct ps3_system_bus_driver *drv;
BUG_ON(!dev); BUG_ON(!dev);
pr_info(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id); pr_debug(" -> %s:%d: %s\n", __func__, __LINE__, _dev->bus_id);
drv = ps3_system_bus_dev_to_system_bus_drv(dev); drv = ps3_system_bus_dev_to_system_bus_drv(dev);
BUG_ON(!drv); BUG_ON(!drv);
...@@ -395,7 +400,7 @@ static int ps3_system_bus_remove(struct device *_dev) ...@@ -395,7 +400,7 @@ static int ps3_system_bus_remove(struct device *_dev)
dev_dbg(&dev->core, "%s:%d %s: no remove method\n", dev_dbg(&dev->core, "%s:%d %s: no remove method\n",
__func__, __LINE__, drv->core.name); __func__, __LINE__, drv->core.name);
pr_info(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id); pr_debug(" <- %s:%d: %s\n", __func__, __LINE__, dev->core.bus_id);
return result; return result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment