soc/tegra: fuse: Trivial clean-up of tegra_init_revision()
authorJon Hunter <jonathanh@nvidia.com>
Fri, 17 Apr 2020 12:39:49 +0000 (13:39 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 21 Apr 2020 22:07:27 +0000 (00:07 +0200)
commitd08a4095abd8174e13c23c733584da9d0de556e7
treed5ba36a412ccee741d6432709ee18128ed9c501d
parent379ac9eb1fe94cc40173b83fda1ee8d611a756e9
soc/tegra: fuse: Trivial clean-up of tegra_init_revision()

Clean-up the tegra_init_revision() function by removing the 'rev'
variable which is not needed and use the newly added helper function
tegra_get_minor_rev() to get the minor revision.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/fuse/tegra-apbmisc.c