Re: [PATCH v3 2/7] iio: accel: kx022a: Support ICs with different G-ranges

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

 



Hi Matti,

Sorry for the late answer. I know that this was already applied so maybe
you can post a really small follow-up patch ?

> diff --git a/drivers/iio/accel/kionix-kx022a.h b/drivers/iio/accel/kionix-kx022a.h
> index 7060438ad88c..36e9d9de8c13 100644
> --- a/drivers/iio/accel/kionix-kx022a.h
> +++ b/drivers/iio/accel/kionix-kx022a.h
> @@ -161,6 +161,8 @@ struct kx022a_data;
>  struct kx022a_chip_info {
>  	const char *name;
>  	const struct regmap_config *regmap_config;
> +	const int (*scale_table)[2];
> +	const int scale_table_size;

Could you please add kernel-doc for these two new elements like the others already
have ?

>  	const struct iio_chan_spec *channels;
>  	unsigned int num_channels;
>  	unsigned int fifo_length;
> -- 
> 2.47.0
> 

--
Kind Regards
Mehdi Djait




[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