samsung: minor coding style fixes

This commit is contained in:
Aleksander Morgado
2012-05-06 13:15:46 +02:00
parent 6f814bb15a
commit 03a0fee4ff
2 changed files with 12 additions and 10 deletions

View File

@@ -445,7 +445,8 @@ disconnect_3gpp (MMBroadbandBearer *bearer,
}
static void
set_unsolicited_result_codes (MMBroadbandBearerSamsung *self, gboolean enable)
set_unsolicited_result_codes (MMBroadbandBearerSamsung *self,
gboolean enable)
{
MMBroadbandModemSamsung *modem;
MMAtSerialPort *ports[2];
@@ -457,7 +458,7 @@ set_unsolicited_result_codes (MMBroadbandBearerSamsung *self, gboolean enable)
NULL);
g_assert (modem != NULL);
ipdpact_regex = g_regex_new(
ipdpact_regex = g_regex_new (
"\\r\\n%IPDPACT:\\s*(\\d+),\\s*(\\d+),\\s*(\\d+)\\r\\n",
G_REGEX_RAW | G_REGEX_OPTIMIZE,
0,
@@ -657,7 +658,8 @@ mm_broadband_bearer_samsung_new_finish (GAsyncResult *res,
return MM_BEARER (bearer);
}
void mm_broadband_bearer_samsung_new (MMBroadbandModemSamsung *modem,
void
mm_broadband_bearer_samsung_new (MMBroadbandModemSamsung *modem,
MMBearerProperties *properties,
GCancellable *cancellable,
GAsyncReadyCallback callback,

View File

@@ -89,9 +89,9 @@ G_MODULE_EXPORT MMPlugin *
mm_plugin_create (void)
{
static const gchar *subsystems[] = { "tty", "net", NULL };
static const mm_uint16_pair products[] = { { 0x04e8, 0x6872},
{ 0x04e8, 0x6906},
{0, 0} };
static const mm_uint16_pair products[] = { { 0x04e8, 0x6872 },
{ 0x04e8, 0x6906 },
{ 0, 0 } };
return MM_PLUGIN (
g_object_new (MM_TYPE_PLUGIN_SAMSUNG,
MM_PLUGIN_BASE_NAME, "Samsung",