projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spi/rtc-{ds1390,ds3234,m41t94}: Use spi_get_drvdata() for SPI devices
[deliverable/linux.git]
/
drivers
/
rtc
/
rtc-ds1390.c
diff --git
a/drivers/rtc/rtc-ds1390.c
b/drivers/rtc/rtc-ds1390.c
index 26a86d235051ff283115c34324ae2605a860a42f..b038d2cfef267163699fb502a4c3d2d533a58e75 100644
(file)
--- a/
drivers/rtc/rtc-ds1390.c
+++ b/
drivers/rtc/rtc-ds1390.c
@@
-158,7
+158,7
@@
static int __devinit ds1390_probe(struct spi_device *spi)
static int __devexit ds1390_remove(struct spi_device *spi)
{
- struct ds1390 *chip =
platform
_get_drvdata(spi);
+ struct ds1390 *chip =
spi
_get_drvdata(spi);
rtc_device_unregister(chip->rtc);
kfree(chip);
This page took
0.025394 seconds
and
5
git commands to generate.