Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132852
b: refs/heads/master
c: 93b760b
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Feb 18, 2009
1 parent 174e6eb commit 80a978f
Show file tree
Hide file tree
Showing 2 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: fc9967576829a01c98e5388410dc12c61006f79f
refs/heads/master: 93b760b7072ca6972c15c798e97af3f830d8bbba
7 changes: 6 additions & 1 deletion trunk/sound/soc/codecs/wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,12 +655,17 @@ static int __devinit wm8731_spi_probe(struct spi_device *spi)
codec->hw_write = (hw_write_t)wm8731_spi_write;
codec->dev = &spi->dev;

spi->dev.driver_data = wm8731;

return wm8731_register(wm8731);
}

static int __devexit wm8731_spi_remove(struct spi_device *spi)
{
/* FIXME: This isn't actually implemented... */
struct wm8731_priv *wm8731 = spi->dev.driver_data;

wm8731_unregister(wm8731);

return 0;
}

Expand Down

0 comments on commit 80a978f

Please sign in to comment.