Driver core: convert mmc code to use struct device