[PATCH 5.9 140/252] can: m_can: m_can_class_free_dev(): introduce new function