[PATCH resend] component: demote bind messages to debug level

From: Lucas Stach
Date: Tue Jan 12 2016 - 07:01:13 EST


The component bind messages are mostly redundant as most drivers print
a more specific message themselves when binding has succeeded. As they
don't add much value, but can get noisy with a lot of components in the
system demote them to debug level.

Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
drivers/base/component.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/component.c b/drivers/base/component.c
index f748430bb654..867ace2404f1 100644
--- a/drivers/base/component.c
+++ b/drivers/base/component.c
@@ -417,8 +417,8 @@ static int component_bind(struct component *component, struct master *master,
devres_close_group(component->dev, NULL);
devres_remove_group(master->dev, NULL);

- dev_info(master->dev, "bound %s (ops %ps)\n",
- dev_name(component->dev), component->ops);
+ dev_dbg(master->dev, "bound %s (ops %ps)\n",
+ dev_name(component->dev), component->ops);
} else {
devres_release_group(component->dev, NULL);
devres_release_group(master->dev, NULL);
--
2.6.4