rts: ds1685: remove not needed fields from private struct

A few of the fields in struct ds1685_priv aren't needed at all,
so we can remove it.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Acked-by: Joshua Kinard <kumba@gentoo.org>
Link: https://lore.kernel.org/r/20191011150546.9186-1-tbogendoerfer@suse.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Šī revīzija ir iekļauta:
Thomas Bogendoerfer
2019-10-11 17:05:43 +02:00
revīziju iesūtīja Alexandre Belloni
vecāks d53bf24db3
revīzija 9e420d7f12
2 mainīti faili ar 0 papildinājumiem un 6 dzēšanām

Parādīt failu

@@ -1086,12 +1086,10 @@ ds1685_rtc_probe(struct platform_device *pdev)
* Set the base address for the rtc, and ioremap its
* registers.
*/
rtc->baseaddr = res->start;
rtc->regs = devm_ioremap(&pdev->dev, res->start, rtc->size);
if (!rtc->regs)
return -ENOMEM;
}
rtc->alloc_io_resources = pdata->alloc_io_resources;
/* Get the register step size. */
if (pdata->regstep > 0)
@@ -1271,7 +1269,6 @@ ds1685_rtc_probe(struct platform_device *pdev)
/* See if the platform doesn't support UIE. */
if (pdata->uie_unsupported)
rtc_dev->uie_unsupported = 1;
rtc->uie_unsupported = pdata->uie_unsupported;
rtc->dev = rtc_dev;