Re: [PATCH 1/2] iio: exynos_adc: Remove redundant of_match_ptr macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/26/2013 09:42 AM, Sachin Kamat wrote:
> exynos_adc is a DT only driver and exynos_adc_match table is always
> compiled in. Hence remove the macro.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
Applied to the togreg branch of iio.git
> ---
>  drivers/iio/adc/exynos_adc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
> index 4a8a9a3..9f3a8ef 100644
> --- a/drivers/iio/adc/exynos_adc.c
> +++ b/drivers/iio/adc/exynos_adc.c
> @@ -440,7 +440,7 @@ static struct platform_driver exynos_adc_driver = {
>  	.driver		= {
>  		.name	= "exynos-adc",
>  		.owner	= THIS_MODULE,
> -		.of_match_table = of_match_ptr(exynos_adc_match),
> +		.of_match_table = exynos_adc_match,
>  		.pm	= &exynos_adc_pm_ops,
>  	},
>  };
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux