diff options
author | Nobuhiro Iwamatsu <[email protected]> | 2019-12-18 17:19:17 +0900 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2019-12-23 11:22:32 +0100 |
commit | d6e62e7f106fba64041f02d24110ccebea9b7d2b (patch) | |
tree | a68f9314f16bd8d34d336d2c8eb2f0ab60f13aec | |
parent | 47a3c048373b8ba441075122e04f3617da0a611a (diff) |
rtc: ds1343: Remove unused struct spi_device in struct ds1343_priv
struct spi_device in struct ds1343_priv is not used, remove it.
CC: Alessandro Zummo <[email protected]>
CC: Alexandre Belloni <[email protected]>
CC: Raghavendra Chandra Ganiga <[email protected]>
CC: Ankur Srivastava <[email protected]>
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
-rw-r--r-- | drivers/rtc/rtc-ds1343.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c index 530e64442b92..ba143423875b 100644 --- a/drivers/rtc/rtc-ds1343.c +++ b/drivers/rtc/rtc-ds1343.c @@ -75,7 +75,6 @@ static const struct spi_device_id ds1343_id[] = { MODULE_DEVICE_TABLE(spi, ds1343_id); struct ds1343_priv { - struct spi_device *spi; struct rtc_device *rtc; struct regmap *map; int irq; @@ -362,8 +361,6 @@ static int ds1343_probe(struct spi_device *spi) if (!priv) return -ENOMEM; - priv->spi = spi; - /* RTC DS1347 works in spi mode 3 and * its chip select is active high. Active high should be defined as * "inverse polarity" as GPIO-based chip selects can be logically |