Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7698
b: refs/heads/master
c: ebd8bb7
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed Aug 28, 2005
1 parent 14a3a26 commit f3b9847
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 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: 975f24bdc7d3833875309509abbc7da2b2a28234
refs/heads/master: ebd8bb7647e908e8654e565fa289b0300f9f8fa7
5 changes: 5 additions & 0 deletions trunk/drivers/base/attribute_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ attribute_container_device_trigger(struct device *dev,
if (!cont->match(cont, dev))
continue;

if (attribute_container_no_classdevs(cont)) {
fn(cont, dev, NULL);
continue;
}

spin_lock(&cont->containers_lock);
list_for_each_entry_safe(ic, tmp, &cont->containers, node) {
if (dev == ic->classdev.dev)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/base/transport_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is licensed under GPLv2
*
* The basic idea here is to allow any "device controller" (which
* would most often be a Host Bus Adapter" to use the services of one
* would most often be a Host Bus Adapter to use the services of one
* or more tranport classes for performing transport specific
* services. Transport specific services are things that the generic
* command layer doesn't want to know about (speed settings, line
Expand Down

0 comments on commit f3b9847

Please sign in to comment.