projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: stmpe: Use spi_get_drvdata()
[linux-2.6-microblaze.git]
/
drivers
/
mfd
/
stmpe-spi.c
diff --git
a/drivers/mfd/stmpe-spi.c
b/drivers/mfd/stmpe-spi.c
index
973659f
..
a81badb
100644
(file)
--- a/
drivers/mfd/stmpe-spi.c
+++ b/
drivers/mfd/stmpe-spi.c
@@
-103,7
+103,7
@@
stmpe_spi_probe(struct spi_device *spi)
static int stmpe_spi_remove(struct spi_device *spi)
{
- struct stmpe *stmpe =
dev_get_drvdata(&spi->dev
);
+ struct stmpe *stmpe =
spi_get_drvdata(spi
);
return stmpe_remove(stmpe);
}