[PATCH v3 08/14] core: extend struct driver_info to point to device