[PATCH v2 07/14] core: extend struct driver_info to point to device