summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-09-02 19:04:21 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-09-02 19:04:21 -0700
commit3bb7fbd5d5779f267ce248504592e64f9da18629 (patch)
treec853abedd394c1d0c2449f9f85a6550c662cc567
parent959a90b7e85479d11acf4511e4457253c918d940 (diff)
Use proper debug calls for pure debugging output
-rw-r--r--plugins/mbm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mbm.c b/plugins/mbm.c
index f66f57a3..09176a69 100644
--- a/plugins/mbm.c
+++ b/plugins/mbm.c
@@ -48,7 +48,7 @@ static int mbm_probe(struct ofono_modem *modem)
{
struct mbm_data *data;
- ofono_info("MBM probe");
+ DBG("%p", modem);
data = g_try_new0(struct mbm_data, 1);
if (!data)
@@ -63,7 +63,7 @@ static void mbm_remove(struct ofono_modem *modem)
{
struct mbm_data *data = ofono_modem_get_data(modem);
- ofono_info("MBM remove");
+ DBG("%p", modem);
ofono_modem_set_data(modem, NULL);
@@ -99,7 +99,7 @@ static int mbm_enable(struct ofono_modem *modem)
{
int err;
- ofono_info("MBM enable");
+ DBG("%p", modem);
err = chat_connect("/dev/ttyACM0", connect_callback, modem);
if (err < 0)
@@ -112,7 +112,7 @@ static int mbm_disable(struct ofono_modem *modem)
{
struct mbm_data *data = ofono_modem_get_data(modem);
- ofono_info("MBM disable");
+ DBG("%p", modem);
if (!data->chat)
return 0;
@@ -131,7 +131,7 @@ static void mbm_populate(struct ofono_modem *modem)
{
struct mbm_data *data = ofono_modem_get_data(modem);
- ofono_info("MBM populate");
+ DBG("%p", modem);
ofono_devinfo_create(modem, 0, "atmodem", data->chat);
ofono_netreg_create(modem, 0, "atmodem", data->chat);