Commit 95bd99de authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: core: use 'drv' instead of dev->driver

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 3dc05f18
......@@ -32,7 +32,7 @@ EXPORT_SYMBOL_GPL(greybus_disabled);
static int greybus_module_match(struct device *dev, struct device_driver *drv)
{
struct greybus_driver *driver = to_greybus_driver(dev->driver);
struct greybus_driver *driver = to_greybus_driver(drv);
struct gb_module *gmod = to_gb_module(dev);
const struct greybus_module_id *id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment