Skip to content

Commit

Permalink
driver core: silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstaT committed Dec 5, 2016
1 parent 312dbff commit 5a322c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ static int really_probe(struct device *dev, struct device_driver *drv)
atomic_inc(&probe_count);
pr_debug("bus: '%s': %s: probing driver %s with device %s\n",
drv->bus->name, __func__, drv->name, dev_name(dev));
WARN_ON(!list_empty(&dev->devres_head));
//WARN_ON(!list_empty(&dev->devres_head));

dev->driver = drv;

Expand Down

0 comments on commit 5a322c6

Please sign in to comment.