Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216621
b: refs/heads/master
c: fe3e2e7
h: refs/heads/master
i:
  216619: 1ff36d2
v: v3
  • Loading branch information
Dan Carpenter authored and Mark Brown committed Oct 11, 2010
1 parent 41bada9 commit f9feb51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 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: c969f19f8fd17e600a16fe91aab66d86936cce0a
refs/heads/master: fe3e2e7ff2da41bd7a985c4c206e05a95ebe7a6b
8 changes: 4 additions & 4 deletions trunk/sound/soc/codecs/wm8804.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,8 @@ static int __devinit wm8804_spi_probe(struct spi_device *spi)
int ret;

wm8804 = kzalloc(sizeof *wm8804, GFP_KERNEL);
if (IS_ERR(wm8804))
return PTR_ERR(wm8804);
if (!wm8804)
return -ENOMEM;

wm8804->control_type = SND_SOC_SPI;
spi_set_drvdata(spi, wm8804);
Expand Down Expand Up @@ -758,8 +758,8 @@ static __devinit int wm8804_i2c_probe(struct i2c_client *i2c,
int ret;

wm8804 = kzalloc(sizeof *wm8804, GFP_KERNEL);
if (IS_ERR(wm8804))
return PTR_ERR(wm8804);
if (!wm8804)
return -ENOMEM;

wm8804->control_type = SND_SOC_I2C;
i2c_set_clientdata(i2c, wm8804);
Expand Down
8 changes: 4 additions & 4 deletions trunk/sound/soc/codecs/wm8985.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,8 +1079,8 @@ static int __devinit wm8985_spi_probe(struct spi_device *spi)
int ret;

wm8985 = kzalloc(sizeof *wm8985, GFP_KERNEL);
if (IS_ERR(wm8985))
return PTR_ERR(wm8985);
if (!wm8985)
return -ENOMEM;

wm8985->control_type = SND_SOC_SPI;
spi_set_drvdata(spi, wm8985);
Expand Down Expand Up @@ -1117,8 +1117,8 @@ static __devinit int wm8985_i2c_probe(struct i2c_client *i2c,
int ret;

wm8985 = kzalloc(sizeof *wm8985, GFP_KERNEL);
if (IS_ERR(wm8985))
return PTR_ERR(wm8985);
if (!wm8985)
return -ENOMEM;

wm8985->control_type = SND_SOC_I2C;
i2c_set_clientdata(i2c, wm8985);
Expand Down

0 comments on commit f9feb51

Please sign in to comment.