[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1441976333-10618-3-git-send-email-sudipm.mukherjee@gmail.com>
Date: Fri, 11 Sep 2015 18:28:53 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Noralf Trønnes <noralf@...nnes.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
Sudip Mukherjee <sudipm.mukherjee@...il.com>
Subject: [PATCH 3/3] staging: fbtft: change log level
Reduce the log level of some of the pr_* calls and remove 2 pr_debug
calls which just prints "init" and "exit".
Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
---
drivers/staging/fbtft/fbtft_device.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft_device.c b/drivers/staging/fbtft/fbtft_device.c
index a820d4c..6d868e0 100644
--- a/drivers/staging/fbtft/fbtft_device.c
+++ b/drivers/staging/fbtft/fbtft_device.c
@@ -1223,7 +1223,7 @@ static int spi_device_found(struct device *dev, void *data)
static void pr_spi_devices(void)
{
- pr_info("SPI devices registered:\n");
+ pr_debug("SPI devices registered:\n");
bus_for_each_dev(&spi_bus_type, NULL, NULL, spi_device_found);
}
@@ -1241,7 +1241,7 @@ static int p_device_found(struct device *dev, void *data)
static void pr_p_devices(void)
{
- pr_info("'fb' Platform devices registered:\n");
+ pr_debug("'fb' Platform devices registered:\n");
bus_for_each_dev(&platform_bus_type, NULL, NULL, p_device_found);
}
@@ -1299,8 +1299,6 @@ static int __init fbtft_device_init(void)
long val;
int ret = 0;
- pr_debug("init\n");
-
if (name == NULL) {
#ifdef MODULE
pr_err("missing module parameter: 'name'\n");
@@ -1479,8 +1477,6 @@ static int __init fbtft_device_init(void)
static void __exit fbtft_device_exit(void)
{
- pr_debug("exit\n");
-
if (spi_device) {
device_del(&spi_device->dev);
kfree(spi_device);
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists