include: Fix return signature in lte methods

Only the probe method returns a value.  All other methods use a void
return signature and report errors via the callback.
This commit is contained in:
Denis Kenzior 2016-11-11 10:55:00 -06:00
parent 0cfab7e436
commit cd0b9b9ef7
1 changed files with 1 additions and 2 deletions

View File

@ -40,10 +40,9 @@ struct ofono_lte_driver {
const char *name;
int (*probe)(struct ofono_lte *lte, void *data);
void (*remove)(struct ofono_lte *lte);
int (*set_default_attach_info)(const struct ofono_lte *lte,
void (*set_default_attach_info)(const struct ofono_lte *lte,
const struct ofono_lte_default_attach_info *info,
ofono_lte_cb_t cb, void *data);
};
int ofono_lte_driver_register(const struct ofono_lte_driver *d);