diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-22 10:43:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-05 18:33:14 +0100 |
commit | cc4c831811c2901b4b896c76ecb97212d73ad5aa (patch) | |
tree | 3836304da79b66572f8276e37afd7e1e738a3507 /drivers/gpio/gpio-thunderx.c | |
parent | f51b18d92b6668dde131247928233e8a7de6f7b2 (diff) | |
download | linux-cc4c831811c2901b4b896c76ecb97212d73ad5aa.tar.bz2 |
gpio: tegra186: use devm_platform_ioremap_resource_byname()
Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191022084318.22256-9-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-thunderx.c')
0 files changed, 0 insertions, 0 deletions