[PATCH 02/11] node_device: refactor mdev attributes handling