]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: max77686: use rtc regmap to access RTC registers
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 9 Feb 2016 17:26:31 +0000 (22:56 +0530)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:11 +0000 (17:08 +0100)
commitd09a267e8b8b418fb590db3ff1340f216816059f
treeaa93f90d9674b6cab581e67fe1e606a995c5ce91
parent3240104aa0a58d5d142207bf3d7863810458ab9d
rtc: max77686: use rtc regmap to access RTC registers

rtc_regmap should be used to access all RTC registers instead
of parent regmap regardless of what chip or property have it.

This makes the register access uniform and extendible for other
chips.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-max77686.c