drivercore: revert addition of of_match to struct device