]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a5797eff00fd4458794edb4adf9405b9a3b30c3
tree5f6a8049a1e59452f15dd0bf1fbabfb6f682ecb9
parentc10564ca1c1f10b6a444679bd54c8cfd5dea2ae9
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