aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2015-03-27 19:06:43 +0100
committerAleksander Morgado <aleksander@aleksander.es>2015-03-27 19:06:43 +0100
commit948be2343a592d35403a8e7319fbe21952e56256 (patch)
tree85689ddfcb7a73c6e819957fb8b4a48c44b4b44b
parent12318970a7df2e0dd83b8284762e4cf7294fe0d3 (diff)
telit: minor coding style fixes
-rw-r--r--plugins/telit/mm-plugin-telit.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/telit/mm-plugin-telit.c b/plugins/telit/mm-plugin-telit.c
index a3620e7b..d9793d16 100644
--- a/plugins/telit/mm-plugin-telit.c
+++ b/plugins/telit/mm-plugin-telit.c
@@ -217,8 +217,8 @@ out:
static void
getportcfg_ready (MMPortSerialAt *port,
- GAsyncResult *res,
- TelitCustomInitContext *ctx)
+ GAsyncResult *res,
+ TelitCustomInitContext *ctx)
{
const gchar *response;
GError *error = NULL;
@@ -237,6 +237,7 @@ getportcfg_ready (MMPortSerialAt *port,
ctx->getportcfg_done = TRUE;
} else {
MMDevice *device;
+
device = mm_port_probe_peek_device (ctx->probe);
/* Results are cached in the parent device object */
@@ -313,10 +314,10 @@ out:
static void
telit_custom_init (MMPortProbe *probe,
- MMPortSerialAt *port,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
+ MMPortSerialAt *port,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data)
{
MMDevice *device;
GUdevDevice *udevDevice;