Re: [PATCH] drivers: fix a typo in the kernel doc for devm_platform_ioremap_resource()

From: Rafael J. Wysocki
Date: Mon Apr 01 2019 - 04:25:59 EST


On Mon, Apr 1, 2019 at 10:16 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> It should have been 'management' not 'managemend'.
>
> Fixes: 7945f929f1a7 ("drivers: provide devm_platform_ioremap_resource()")
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

> ---
> drivers/base/platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/base/platform.c b/drivers/base/platform.c
> index dab0a5abc391..09c00d91094c 100644
> --- a/drivers/base/platform.c
> +++ b/drivers/base/platform.c
> @@ -84,7 +84,7 @@ EXPORT_SYMBOL_GPL(platform_get_resource);
> * device
> *
> * @pdev: platform device to use both for memory resource lookup as well as
> - * resource managemend
> + * resource management
> * @index: resource index
> */
> #ifdef CONFIG_HAS_IOMEM
> --
> 2.21.0
>