clocksource: sh_mtu2: Allocate channels dynamically
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Mar 2014 13:23:00 +0000 (14:23 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Apr 2014 10:03:30 +0000 (12:03 +0200)
commitc54ccb431ce6ce813bb850e8659991fc4c5bc6bc
treee39e93c1cc81e79e85920aa92761c641d95a4d14
parent810c651369b343618d949826e0acd0df1b8b06eb
clocksource: sh_mtu2: Allocate channels dynamically

This prepares the driver for multi-channel support.

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