Driver core: convert vt code to use struct device