Re: [PATCH v2 05/10] rtc: max77686: Add an indirection level to access RTC registers

From: Laxman Dewangan
Date: Fri Jan 22 2016 - 05:03:12 EST



On Friday 22 January 2016 01:53 AM, Javier Martinez Canillas wrote:
The max77686 driver is generic enough that can be used for other
Maxim RTC IP blocks but these might not have the same registers
layout so instead of accessing the registers directly, add a map
to translate offsets to the real registers addresses for each IP.

Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>

Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>