tifm: move common device management tasks from tifm_7xx1 to tifm_core