maintain ecore_device using ref/unref func