Skip to content

Commit

Permalink
staging: fsl-mc: remove unnecessary info prints from bus driver
Browse files Browse the repository at this point in the history
remove pr_info/dev_info prints that add unnecessary verbosity

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Stuart Yoder authored and Greg Kroah-Hartman committed Dec 8, 2016
1 parent b490459 commit 3c87f65
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/fsl-mc/bus/fsl-mc-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ int __fsl_mc_driver_register(struct fsl_mc_driver *mc_driver,
return error;
}

pr_info("driver %s registered\n", mc_driver->driver.name);
return 0;
}
EXPORT_SYMBOL_GPL(__fsl_mc_driver_register);
Expand Down Expand Up @@ -731,8 +730,6 @@ static int fsl_mc_bus_probe(struct platform_device *pdev)
struct mc_version mc_version;
struct resource res;

dev_info(&pdev->dev, "root DPRC probed");

mc = devm_kzalloc(&pdev->dev, sizeof(*mc), GFP_KERNEL);
if (!mc)
return -ENOMEM;
Expand Down Expand Up @@ -822,7 +819,6 @@ static int fsl_mc_bus_remove(struct platform_device *pdev)
fsl_destroy_mc_io(mc->root_mc_bus_dev->mc_io);
mc->root_mc_bus_dev->mc_io = NULL;

dev_info(&pdev->dev, "root DPRC removed");
return 0;
}

Expand Down Expand Up @@ -861,8 +857,6 @@ static int __init fsl_mc_bus_driver_init(void)
goto error_cleanup_cache;
}

pr_info("bus type registered\n");

error = platform_driver_register(&fsl_mc_bus_driver);
if (error < 0) {
pr_err("platform_driver_register() failed: %d\n", error);
Expand Down

0 comments on commit 3c87f65

Please sign in to comment.