Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288843
b: refs/heads/master
c: 9f30ea9
h: refs/heads/master
i:
  288841: f5b8004
  288839: f807b9b
v: v3
  • Loading branch information
Sebastian Ott authored and Greg Kroah-Hartman committed Jan 25, 2012
1 parent 2e64ae9 commit efeeb69
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cef9bc56e1e944afd11f96de569657117a138c6d
refs/heads/master: 9f30ea950edfaefa51221dd26a065b3442599778
2 changes: 0 additions & 2 deletions trunk/drivers/s390/cio/ccwgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,6 @@ void ccwgroup_driver_unregister(struct ccwgroup_driver *cdriver)
struct device *dev;

/* We don't want ccwgroup devices to live longer than their driver. */
get_driver(&cdriver->driver);
while ((dev = driver_find_device(&cdriver->driver, NULL, NULL,
__ccwgroup_match_all))) {
struct ccwgroup_device *gdev = to_ccwgroupdev(dev);
Expand All @@ -592,7 +591,6 @@ void ccwgroup_driver_unregister(struct ccwgroup_driver *cdriver)
mutex_unlock(&gdev->reg_mutex);
put_device(dev);
}
put_driver(&cdriver->driver);
driver_unregister(&cdriver->driver);
}
EXPORT_SYMBOL(ccwgroup_driver_unregister);
Expand Down
8 changes: 1 addition & 7 deletions trunk/drivers/s390/cio/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1676,15 +1676,9 @@ struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
const char *bus_id)
{
struct device *dev;
struct device_driver *drv;

drv = get_driver(&cdrv->driver);
if (!drv)
return NULL;

dev = driver_find_device(drv, NULL, (void *)bus_id,
dev = driver_find_device(&cdrv->driver, NULL, (void *)bus_id,
__ccwdev_check_busid);
put_driver(drv);

return dev ? to_ccwdev(dev) : NULL;
}
Expand Down

0 comments on commit efeeb69

Please sign in to comment.