Files
android_kernel_fxtec_sm6115/include/linux
Bartosz Golaszewski fd3afd7d32 drivers: provide devm_platform_ioremap_resource()
[ Upstream commit 7945f929f1a77a1c8887a97ca07f87626858ff42 ]

There are currently 1200+ instances of using platform_get_resource()
and devm_ioremap_resource() together in the kernel tree.

This patch wraps these two calls in a single helper. Thanks to that
we don't have to declare a local variable for struct resource * and can
omit the redundant argument for resource type. We also have one
function call less.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Stable-dep-of: 8ab5fc55d7f6 ("serial: arc_uart: fix of_iomap leak in `arc_serial_probe`")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-30 12:42:10 +01:00
..
2023-05-30 12:42:09 +01:00
2022-10-26 13:19:32 +02:00
2021-12-08 08:50:13 +01:00
2021-01-30 13:32:12 +01:00
2021-05-22 10:59:50 +02:00
2022-10-26 13:19:35 +02:00
2021-03-04 09:39:44 +01:00
2022-08-25 11:15:23 +02:00
2021-02-07 14:48:38 +01:00
2021-11-26 11:35:57 +01:00
2021-06-30 08:48:18 -04:00
2023-03-17 08:31:43 +01:00
2023-02-22 12:47:17 +01:00
2021-12-14 10:18:04 +01:00
2021-12-14 10:18:06 +01:00