]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: max77686: avoid reference of parent device info multiple places
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 9 Feb 2016 17:26:32 +0000 (22:56 +0530)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:12 +0000 (17:08 +0100)
commit46e0a987337ab59b50af33f2a1eae18013c4ec72
treefb076a6d25fd975aa8b678ff12cd8a7223a67d20
parentd09a267e8b8b418fb590db3ff1340f216816059f
rtc: max77686: avoid reference of parent device info multiple places

Get rid of referring parent device info for register access
all the places by making regmap as part of max77686 rtc
device info. This will also remove the need of storing parent
device info in max77686 rtc device info as this is no more required.

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