Clean device tree