Lines Matching refs:driver_override
89 len = sprintf(buf, "%s\n", dev->driver_override); in driver_override_show()
99 char *driver_override, *old, *cp; in driver_override_store() local
105 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
106 if (!driver_override) in driver_override_store()
109 cp = strchr(driver_override, '\n'); in driver_override_store()
114 old = dev->driver_override; in driver_override_store()
115 if (strlen(driver_override)) { in driver_override_store()
116 dev->driver_override = driver_override; in driver_override_store()
118 kfree(driver_override); in driver_override_store()
119 dev->driver_override = NULL; in driver_override_store()
127 static DEVICE_ATTR_RW(driver_override);
159 if (pcdev->driver_override) in amba_match()
160 return !strcmp(pcdev->driver_override, drv->name); in amba_match()