Minor nit: declare this as static void release_modems(void), to follow ofono coding guidelines. This applies also to *_control_channel() functions below.