mirror of git://git.sysmocom.de/ofono
modem: Minor style fix
This commit is contained in:
parent
c2f054e05b
commit
be56f200d8
|
@ -1022,7 +1022,8 @@ static void query_manufacturer_cb(const struct ofono_error *error,
|
|||
|
||||
ofono_dbus_signal_property_changed(conn, path,
|
||||
OFONO_MODEM_INTERFACE,
|
||||
"Manufacturer", DBUS_TYPE_STRING,
|
||||
"Manufacturer",
|
||||
DBUS_TYPE_STRING,
|
||||
&info->manufacturer);
|
||||
|
||||
out:
|
||||
|
@ -1390,7 +1391,8 @@ int ofono_modem_register(struct ofono_modem *modem)
|
|||
if (modem->driver == NULL)
|
||||
return -ENODEV;
|
||||
|
||||
if (!g_dbus_register_interface(conn, modem->path, OFONO_MODEM_INTERFACE,
|
||||
if (!g_dbus_register_interface(conn, modem->path,
|
||||
OFONO_MODEM_INTERFACE,
|
||||
modem_methods, modem_signals, NULL,
|
||||
modem, NULL)) {
|
||||
ofono_error("Modem register failed on path %s", modem->path);
|
||||
|
|
Loading…
Reference in New Issue