]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: sh_mtu2: Turn sh_mtu2_priv fields into local variables
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Mar 2014 11:59:54 +0000 (12:59 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Apr 2014 10:03:25 +0000 (12:03 +0200)
commitf92d62f53973466cccb25900c2597ff6df950d74
tree8af4782ca5d61fe30c4c03a2f0392ff1297b2d48
parent276bee05d8b72e98d530b55161e0a2131da99f58
clocksource: sh_mtu2: Turn sh_mtu2_priv fields into local variables

The rate and periodic fields are used in a single function only, as
local variables. Remove them from the structure.

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