From 76d6741977481743506e77cc76cbba7dbc2a36be Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 29 Oct 2015 10:31:23 +0100 Subject: adv7180.c: convert debug output to dev_dbg Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler (cherry picked from commit 27d029fd2bf6426dd0a3cd5d62d85d4e1f6762d4) (cherry picked from commit 638f43ca3f22ab0fbad74d0f4701f499dff764cb) --- drivers/media/platform/mxc/capture/adv7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/media/platform') diff --git a/drivers/media/platform/mxc/capture/adv7180.c b/drivers/media/platform/mxc/capture/adv7180.c index 47f1133de971..a41aedf5e16b 100644 --- a/drivers/media/platform/mxc/capture/adv7180.c +++ b/drivers/media/platform/mxc/capture/adv7180.c @@ -1056,7 +1056,7 @@ static int adv7180_probe(struct i2c_client *client, struct pinctrl *pinctrl; struct device *dev = &client->dev; - printk(KERN_ERR"DBG sensor data is at %p\n", &adv7180_data); + dev_dbg(dev, "%s sensor data is at %p\n", __func__, &adv7180_data); /* adv7180 pinctrl */ pinctrl = devm_pinctrl_get_select_default(dev); -- cgit v1.2.3