Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304046
b: refs/heads/master
c: a1d26ac
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Apr 25, 2012
1 parent 3b1f713 commit b952395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b9606106ba58d2bd80610f97e06fea58206b47c
refs/heads/master: a1d26ac0ddc4ea561e17a75dd3b5f9d3c1812f16
2 changes: 2 additions & 0 deletions trunk/drivers/extcon/extcon_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,8 @@ int extcon_dev_register(struct extcon_dev *edev, struct device *dev)
}

edev->dev = kzalloc(sizeof(struct device), GFP_KERNEL);
if (!edev->dev)
return -ENOMEM;
edev->dev->parent = dev;
edev->dev->class = extcon_class;
edev->dev->release = extcon_dev_release;
Expand Down

0 comments on commit b952395

Please sign in to comment.