Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42899
b: refs/heads/master
c: 7b92ff0
h: refs/heads/master
i:
  42897: ec9c926
  42895: 2456ba3
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Dec 7, 2006
1 parent 040e986 commit 2e70684
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: 95362fa90312ff2d52c0b4d42412cd7ceeb3b89b
refs/heads/master: 7b92ff01c2cd21567c3342c1c77d5e4f1a2bd699
2 changes: 2 additions & 0 deletions trunk/drivers/spi/spi_butterfly.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ static void butterfly_attach(struct parport *p)
* setting up a platform device like this is an ugly kluge...
*/
pdev = platform_device_register_simple("butterfly", -1, NULL, 0);
if (IS_ERR(pdev))
return;

master = spi_alloc_master(&pdev->dev, sizeof *pp);
if (!master) {
Expand Down

0 comments on commit 2e70684

Please sign in to comment.