Skip to contentSkip to conversation

rtc: ds1347: changed raw spi calls to register map calls

PATCH Applied Raghavendra Chandra Ganiga 2 participants 2 messages Aug 31, 2016 – Sep 21, 2016 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: ds1347: changed raw spi calls to register map calls

Quoted 1 line

From 633c012ba6c8f9bc6cf475d2434ca450cd06b18e Mon Sep 17 00:00:00 2001

From: Raghavendra Ganiga <[email protected]>
Date: Wed, 31 Aug 2016 22:56:41 +0530
Subject: [PATCH] rtc: ds1347: changed raw spi calls to register map calls

This patch changes calls of spi read write calls to register map read and write calls in rtc ds1347

---
 drivers/rtc/Kconfig      |  1 +
 drivers/rtc/rtc-ds1347.c | 96 ++++++++++++++++++++++++++----------------------
 2 files changed, 54 insertions(+), 43 deletions(-)
drivers/rtc/Kconfig +1 -0
index 4621cd0..da2e331 100644
@@ -655,6 +655,7 @@ config RTC_DRV_DS1343
 	  will be called rtc-ds1343.
 
 config RTC_DRV_DS1347
+	select REGMAP_SPI
 	tristate "Dallas/Maxim DS1347"
 	help
 	  If you say yes here you get support for the
drivers/rtc/rtc-ds1347.c +53 -43

164 lines not on this page · raw message

Signature · 11 lines
1.9.1

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
#1 lore raw
Quoted 5 lines · Raghavendra Chandra Ganiga

From 633c012ba6c8f9bc6cf475d2434ca450cd06b18e Mon Sep 17 00:00:00 2001
From: Raghavendra Ganiga <[email protected]>
Date: Wed, 31 Aug 2016 22:56:41 +0530
Subject: [PATCH] rtc: ds1347: changed raw spi calls to register map calls

Quoted 9 lines

This patch changes calls of spi read write calls to register map read and write calls in rtc ds1347

---
 drivers/rtc/Kconfig      |  1 +
 drivers/rtc/rtc-ds1347.c | 96 ++++++++++++++++++++++++++----------------------
 2 files changed, 54 insertions(+), 43 deletions(-)

Applied, thanks.

Signature · 13 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.