]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors
authorDmitry Osipenko <digetx@gmail.com>
Sun, 15 Dec 2019 18:30:45 +0000 (21:30 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 20 Dec 2019 09:57:19 +0000 (10:57 +0100)
commit193a65ace9719b908c1da2b6387add639c0d2805
tree21647fa37b8b2ec149cd66e7b46e7f07cfca3c0b
parent9c8d26753d852ab787f4f24a4b6d5c7009cb3e63
gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors

There is no point in using old-style raw accessors, the generic accessors
do the same thing and also take into account CPU endianness. Tegra SoCs do
not support big-endian mode in the upstream kernel, but let's switch away
from the outdated things anyway, just to keep code up-to-date.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-tegra.c