[PATCH] component: demote bind messages to debug level

From: Lucas Stach
Date: Mon Oct 26 2015 - 07:49:49 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.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/