1
0
Files
linux/include/linux
Bartosz Golaszewski 7945f929f1 drivers: provide devm_platform_ioremap_resource()
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>
2019-02-21 13:04:34 +01:00
..
2018-12-11 09:57:47 -08:00
2019-01-25 15:32:28 -08:00
2018-11-26 18:41:21 -05:00
2018-12-07 22:26:38 -07:00
2019-01-24 11:11:45 -07:00
2018-12-18 17:50:47 +01:00
2018-12-03 17:40:18 +01:00
2018-12-19 10:42:08 +01:00
2018-12-28 12:11:52 -08:00
2018-12-07 12:59:08 -08:00
2018-12-06 13:57:03 +01:00
2018-11-30 13:29:04 +00:00
2019-01-04 13:13:48 -08:00
2019-01-04 13:13:48 -08:00
2018-12-13 09:58:57 +01:00
2018-12-06 15:45:46 +01:00
2018-12-03 17:11:02 -08:00
2019-01-07 16:38:26 +01:00
2018-12-21 11:50:02 -05:00
2019-01-18 14:05:14 -08:00
2018-12-10 10:17:45 +01:00
2019-01-11 18:05:40 -08:00
2018-12-22 12:15:29 +01:00