]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1343: simplify regmap initialization
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:35 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:24 +0000 (10:49 +0100)
commit8f3bc65d61501e03a853dbfca111c12bd703c04c
treef7aff017d69ce082397408ca3351ecfbea296eed
parentea07a5a340eee53317ddbfc3a7dea7661baacdf6
rtc: ds1343: simplify regmap initialization

Avoid using memset as gcc can properly initialize structures.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1343.c