V4L/DVB (6927): tda18271: improve printk macros
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
diff --git a/drivers/media/dvb/frontends/tda18271-tables.c b/drivers/media/dvb/frontends/tda18271-tables.c
index 8990bef..e10a93b 100644
--- a/drivers/media/dvb/frontends/tda18271-tables.c
+++ b/drivers/media/dvb/frontends/tda18271-tables.c
@@ -290,7 +290,7 @@
}
if (!map) {
- dbg_info("%s map is not set!\n", map_name);
+ tda_warn("%s map is not set!\n", map_name);
return -EINVAL;
}
@@ -302,7 +302,7 @@
*post_div = map[i].pd;
*div = map[i].d;
- dbg_map("%s: post div = 0x%02x, div = 0x%02x\n",
+ tda_map("%s: post div = 0x%02x, div = 0x%02x\n",
map_name, *post_div, *div);
return 0;
@@ -346,7 +346,7 @@
}
if (!map) {
- dbg_info("%s map is not set!\n", map_name);
+ tda_warn("%s map is not set!\n", map_name);
return -EINVAL;
}
@@ -357,7 +357,7 @@
}
*val = map[i].val;
- dbg_map("%s: 0x%02x\n", map_name, *val);
+ tda_map("%s: 0x%02x\n", map_name, *val);
return 0;
}