tifm: move common adapter management tasks from tifm_7xx1 to tifm_core