eventdev: add dev attribute get function