Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473704

Re: [PATCH] rtc: changed raw spi calls to register map calls

From Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: changed raw spi calls to register map calls
Date 2016-08-31 19:00 +0200
Message-ID <sch1L-4Rl-9@gated-at.bofh.it> (permalink)
References <sbXmq-Og-29@gated-at.bofh.it> <sbZ4R-1Wv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Wednesday 31 August 2016 03:18 AM, Alexandre Belloni wrote:
> Hi,
> 
> Please fix the subject, this patch is ds1347 specific.
> 
Yes I will fix the subject

> On 31/08/2016 at 01:28:33 +0530, RAGHAVENDRA GANIGA wrote :
>> From 2ec82b6c9b99647e31d26c4c828dc7c51af8a633 Mon Sep 17 00:00:00 2001
>> From: Raghavendra Ganiga <ravi23ganiga@gmail.com>
>> Date: Wed, 31 Aug 2016 01:13:30 +0530
>> Subject: [PATCH] rtc: changed raw spi calls to register map calls
>>
>> This patch changes calls of spi read write calls to register map
>> read and write calls
>>
> 
> Can you explain why you need that change? I'm not sure what you gain
> from it (it makes the driver and the kernel bigger).
> 
Regmaps abstract layer are a better way of accessing register through 
spi interface rather than accessing directly through SPI layer

>>  	/* year in linux is from 1900 i.e in range of 100
>> -	in rtc it is from 00 to 99 */
>> +	 * in rtc it is from 00 to 99
>> +	 */
> 
> Unrelated change.
> 
> 
will have a seperate patch for this checkpatch.pl fix

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] rtc: changed raw spi calls to register map calls RAGHAVENDRA GANIGA <ravi23ganiga@gmail.com> - 2016-08-30 22:00 +0200
  Re: [PATCH] rtc: changed raw spi calls to register map calls Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-08-30 23:50 +0200
    Re: [PATCH] rtc: changed raw spi calls to register map calls Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com> - 2016-08-31 19:00 +0200

csiph-web