summaryrefslogtreecommitdiff
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2020-01-14 16:57:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-15 13:14:02 +0100
commit793769120b109e3cec536bb8f5b6f9ef959c315f (patch)
treef2dc10f0feb62cf0c1ff341327b4cdf4895d29bc /drivers/staging/most
parent78ce8b26e3cfef58475a7caa6c83392ff276674f (diff)
staging: most: core: remove noisy log messages
In order to not generate unnecessary noise in the kernel log,this patch removes debug log messages. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Link: https://lore.kernel.org/r/1579017478-3339-4-git-send-email-christian.gromm@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r--drivers/staging/most/core.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c
index be9efa88693c..5772f893c2b5 100644
--- a/drivers/staging/most/core.c
+++ b/drivers/staging/most/core.c
@@ -1221,7 +1221,6 @@ int most_register_component(struct most_component *comp)
return -EINVAL;
}
list_add_tail(&comp->list, &mc.comp_list);
- dev_info(&mc.dev, "registered new core component %s\n", comp->name);
return 0;
}
EXPORT_SYMBOL_GPL(most_register_component);
@@ -1257,7 +1256,6 @@ int most_deregister_component(struct most_component *comp)
bus_for_each_dev(&mc.bus, NULL, comp, disconnect_channels);
list_del(&comp->list);
- dev_info(&mc.dev, "deregistering component %s\n", comp->name);
return 0;
}
EXPORT_SYMBOL_GPL(most_deregister_component);
@@ -1359,8 +1357,6 @@ int most_register_interface(struct most_interface *iface)
goto err_free_most_channel;
}
}
- dev_info(&mc.dev, "registered new device mdev%d (%s)\n",
- id, iface->description);
most_interface_register_notify(iface->description);
return 0;
@@ -1392,8 +1388,6 @@ void most_deregister_interface(struct most_interface *iface)
int i;
struct most_channel *c;
- dev_info(&mc.dev, "deregistering device %s (%s)\n", dev_name(&iface->dev),
- iface->description);
for (i = 0; i < iface->num_channels; i++) {
c = iface->p->channel[i];
if (c->pipe0.comp)
@@ -1470,7 +1464,6 @@ static int __init most_init(void)
{
int err;
- dev_info(&mc.dev, "init()\n");
INIT_LIST_HEAD(&mc.comp_list);
ida_init(&mdev_id);
@@ -1508,7 +1501,6 @@ err_unregister_bus:
static void __exit most_exit(void)
{
- dev_info(&mc.dev, "exit core module\n");
device_unregister(&mc.dev);
driver_unregister(&mc.drv);
bus_unregister(&mc.bus);