From 948be2343a592d35403a8e7319fbe21952e56256 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 27 Mar 2015 19:06:43 +0100 Subject: [PATCH] telit: minor coding style fixes --- plugins/telit/mm-plugin-telit.c | 13 +++++++------ 1 file 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;