]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: ds1307: remove superfluous initialization
authorWolfram Sang <w.sang@pengutronix.de>
Thu, 3 May 2012 05:44:34 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:52 +0000 (15:46 +1000)
commitd71df7b7f7f5f844d6e74d814b5d81919cc22cdd
treea9cfa308ffa5e7baf2cc2bc154c8c431b669ec88
parentf2af21d739c7650f662ad3db23a23d50ee3c8a57
rtc: ds1307: remove superfluous initialization

ds1307 was kzalloced, so no need to zero members of the struct.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ds1307.c