Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155413
b: refs/heads/master
c: 864e1e8
h: refs/heads/master
i:
  155411: 777fd4e
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 12, 2009
1 parent 13bb8c7 commit 73db4e8
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 909662e1e7290945fa3bca038bc3b7bb5d19499f
refs/heads/master: 864e1e8db436dfd784340d0aef18ea303d157bcb
4 changes: 2 additions & 2 deletions trunk/sound/soc/codecs/wm8988.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,14 +1037,14 @@ static int __devinit wm8988_spi_probe(struct spi_device *spi)
codec->control_data = spi;
codec->dev = &spi->dev;

spi->dev.driver_data = wm8988;
dev_set_drvdata(&spi->dev, wm8988);

return wm8988_register(wm8988);
}

static int __devexit wm8988_spi_remove(struct spi_device *spi)
{
struct wm8988_priv *wm8988 = spi->dev.driver_data;
struct wm8988_priv *wm8988 = dev_get_drvdata(&spi->dev);

wm8988_unregister(wm8988);

Expand Down

0 comments on commit 73db4e8

Please sign in to comment.