summaryrefslogtreecommitdiffstats
path: root/drivers/telitmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2014-10-22 21:21:49 -0500
committerDenis Kenzior <denkenz@gmail.com>2014-10-22 21:21:49 -0500
commit2abcb8580913965ca0e8d727c65c56e655f2b004 (patch)
tree90bab9b93e0873346096ce74b2f0765c33370ebf /drivers/telitmodem
parent331700a697263387389170270740a520d95fef6c (diff)
downloadofono-2abcb8580913965ca0e8d727c65c56e655f2b004.tar.bz2
telitmodem: Fix a few coding style violations
Diffstat (limited to 'drivers/telitmodem')
-rw-r--r--drivers/telitmodem/location-reporting.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/telitmodem/location-reporting.c b/drivers/telitmodem/location-reporting.c
index edbd74f7..d16c58f0 100644
--- a/drivers/telitmodem/location-reporting.c
+++ b/drivers/telitmodem/location-reporting.c
@@ -71,7 +71,8 @@ static void telit_gps_disable_cb(gboolean ok, GAtResult *result,
CALLBACK_WITH_SUCCESS(cb, cbd->data);
}
-static void telit_location_reporting_disable(struct ofono_location_reporting *lr,
+static void telit_location_reporting_disable(
+ struct ofono_location_reporting *lr,
ofono_location_reporting_disable_cb_t cb,
void *data)
{
@@ -174,8 +175,8 @@ static void telit_gps_enable_cb(gboolean ok, GAtResult *result,
return;
}
- if( g_at_chat_send(gd->chat, "AT$GPSNMUN=1,0,0,0,0,0,0",
- none_prefix, telit_gps_ctl_cb, cbd, g_free ) > 0 )
+ if (g_at_chat_send(gd->chat, "AT$GPSNMUN=1,0,0,0,0,0,0",
+ none_prefix, telit_gps_ctl_cb, cbd, g_free) > 0)
return;
CALLBACK_WITH_FAILURE(cb, -1, cbd->data);
@@ -215,7 +216,7 @@ static void telit_portcfg_check_cb(gboolean ok, GAtResult *result,
if (!g_at_result_iter_next_number(&iter, &current_portcfg))
goto fail;
- if ( current_portcfg != 8 ) {
+ if (current_portcfg != 8) {
ofono_warn("Unable to start GPS, modem configuration invalid");
ofono_warn("Refer to doc/telit-modem.txt section HE910/GPS");
goto fail;