Message ID | 20190620081129.4721-4-srinivas.kandagatla@linaro.org |
---|---|
State | Accepted |
Commit | 1a044213fc64835b13e675b8dda252aea9b92122 |
Headers | show |
Series | drivers: slimbus: patches for 5.3 | expand |
diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index b2f07d2043eb..526e3215d8fe 100644 --- a/drivers/slimbus/core.c +++ b/drivers/slimbus/core.c @@ -98,11 +98,6 @@ static int slim_device_remove(struct device *dev) static int slim_device_uevent(struct device *dev, struct kobj_uevent_env *env) { struct slim_device *sbdev = to_slim_device(dev); - int ret; - - ret = of_device_uevent_modalias(dev, env); - if (ret != -ENODEV) - return ret; return add_uevent_var(env, "MODALIAS=slim:%s", dev_name(&sbdev->dev)); }