Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143102
b: refs/heads/master
c: 9352986
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare committed Apr 13, 2009
1 parent b26dbad commit 2779fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: c758e8cffe3b1bc7970d579371db01b19ff440bf
refs/heads/master: 935298696f469c0e07c73be687bd055878074ce0
3 changes: 1 addition & 2 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,7 @@ int i2c_register_driver(struct module *owner, struct i2c_driver *driver)

/* new style driver methods can't mix with legacy ones */
if (is_newstyle_driver(driver)) {
if (driver->attach_adapter || driver->detach_adapter
|| driver->detach_client) {
if (driver->detach_adapter || driver->detach_client) {
printk(KERN_WARNING
"i2c-core: driver [%s] is confused\n",
driver->driver.name);
Expand Down

0 comments on commit 2779fce

Please sign in to comment.