]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: ds1307: remove superfluous initialization
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 25 Apr 2012 01:04:39 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:36 +0000 (15:17 +1000)
commita9b67a996b5388aafe5245ac628f77943db70ed8
treefde2fc1faf44a056ac18ffda0a25342d9b4febe6
parent1a51d6036532e1dd13968837b2c5880c760ca546
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