eal: deprecate device attach and detach functions