Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373239
b: refs/heads/master
c: 1b1ba09
h: refs/heads/master
i:
  373237: be9fb36
  373235: 7fb6291
  373231: 82760ff
v: v3
  • Loading branch information
Jingoo Han authored and Samuel Ortiz committed Apr 9, 2013
1 parent 7981723 commit fb11e0c
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: 0c0d2ab069fa668daeda4204580e359dba178169
refs/heads/master: 1b1ba09c39a7262f322290820ad8f29f964b9eee
4 changes: 2 additions & 2 deletions trunk/drivers/mfd/da9052-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static int da9052_spi_probe(struct spi_device *spi)
da9052->dev = &spi->dev;
da9052->chip_irq = spi->irq;

dev_set_drvdata(&spi->dev, da9052);
spi_set_drvdata(spi, da9052);

da9052_regmap_config.read_flag_mask = 1;
da9052_regmap_config.write_flag_mask = 0;
Expand All @@ -60,7 +60,7 @@ static int da9052_spi_probe(struct spi_device *spi)

static int da9052_spi_remove(struct spi_device *spi)
{
struct da9052 *da9052 = dev_get_drvdata(&spi->dev);
struct da9052 *da9052 = spi_get_drvdata(spi);

da9052_device_exit(da9052);
return 0;
Expand Down

0 comments on commit fb11e0c

Please sign in to comment.