Re: [PATCH 1/1] staging: iio: hmc5843: Remove redundant of_match_ptr helper

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

 



On 12/21/13 10:02, Sachin Kamat wrote:
> 'hmc5843_of_match' is always compiled in. Hence the helper
> macro is not needed.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
Applied to the togreg branch of iio.git

Thanks
> ---
>  drivers/staging/iio/magnetometer/hmc5843.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c
> index 8802f72bedde..d4f4dd90c699 100644
> --- a/drivers/staging/iio/magnetometer/hmc5843.c
> +++ b/drivers/staging/iio/magnetometer/hmc5843.c
> @@ -639,7 +639,7 @@ static struct i2c_driver hmc5843_driver = {
>  	.driver = {
>  		.name	= "hmc5843",
>  		.pm	= HMC5843_PM_OPS,
> -		.of_match_table = of_match_ptr(hmc5843_of_match),
> +		.of_match_table = hmc5843_of_match,
>  	},
>  	.id_table	= hmc5843_id,
>  	.probe		= hmc5843_probe,
> 
--
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