> 'lp3943_gpio_of_match' is always compiled in. Hence the
> helper macro is not needed.
> 
> Signed-off-by: Sachin Kamat <[email protected]>
> Acked-by: Linus Walleij <[email protected]>
> ---
>  drivers/gpio/gpio-lp3943.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c
> index 7b8db88ebb7b..a0341c92bcb4 100644
> --- a/drivers/gpio/gpio-lp3943.c
> +++ b/drivers/gpio/gpio-lp3943.c
> @@ -231,7 +231,7 @@ static struct platform_driver lp3943_gpio_driver = {
>       .driver = {
>               .name = "lp3943-gpio",
>               .owner = THIS_MODULE,
> -             .of_match_table = of_match_ptr(lp3943_gpio_of_match),
> +             .of_match_table = lp3943_gpio_of_match,
>       },
>  };
>  module_platform_driver(lp3943_gpio_driver);

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to