Lines Matching refs:driver_override
90 if (mc_dev->driver_override) { in fsl_mc_bus_match()
91 found = !strcmp(mc_dev->driver_override, mc_drv->driver.name); in fsl_mc_bus_match()
169 char *driver_override, *old = mc_dev->driver_override; in driver_override_store() local
178 driver_override = kstrndup(buf, count, GFP_KERNEL); in driver_override_store()
179 if (!driver_override) in driver_override_store()
182 cp = strchr(driver_override, '\n'); in driver_override_store()
186 if (strlen(driver_override)) { in driver_override_store()
187 mc_dev->driver_override = driver_override; in driver_override_store()
189 kfree(driver_override); in driver_override_store()
190 mc_dev->driver_override = NULL; in driver_override_store()
203 return snprintf(buf, PAGE_SIZE, "%s\n", mc_dev->driver_override); in driver_override_show()
205 static DEVICE_ATTR_RW(driver_override);
927 kfree(mc_dev->driver_override); in fsl_mc_device_remove()
928 mc_dev->driver_override = NULL; in fsl_mc_device_remove()