clocksource: sh_mtu2: Replace kmalloc + memset with kzalloc
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Mar 2014 13:10:55 +0000 (14:10 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Apr 2014 10:03:29 +0000 (12:03 +0200)
commit810c651369b343618d949826e0acd0df1b8b06eb
treee42a5bf3d05d66e8866093165a4f9f222753052f
parentd2b93177065fd8e1e18f4f42880326e0881ff457
clocksource: sh_mtu2: Replace kmalloc + memset with kzalloc

One kzalloc a day keeps the bugs away.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Wolfram Sang <wsa@sang-engineering.com>
drivers/clocksource/sh_mtu2.c