OSDN Git Service

rtc: tegra: Use consistent variable names and types
authorThierry Reding <treding@nvidia.com>
Mon, 27 May 2019 10:13:58 +0000 (12:13 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 1 Jun 2019 20:38:53 +0000 (22:38 +0200)
commitc6af561a4ad0971c79faee397fa02fa085018fa3
tree5f6a8049a1e59452f15dd0bf1fbabfb6f682ecb9
parenta2d29238bc6005511d5bef0b9c9ddd935b18251b
rtc: tegra: Use consistent variable names and types

Many of the variables have redundant prefixes or suffixes. Drop all of
them where not necessary for context. Also make sure to use data types
consistently. For instance, values read from 32-bit register accessors
should be stored in u32.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-tegra.c