Re: [PATCH 14/67] iio:adc:ti-adc081 move to info_mask_(shared_by_type/separate)

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

 



On Wed, Feb 27, 2013 at 08:38:20PM +0000, Jonathan Cameron wrote:
> The original info_mask is going away in favour of the broken out versions.
> 
> Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx>
> cc: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
> ---
>  drivers/iio/adc/ti-adc081c.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/adc/ti-adc081c.c b/drivers/iio/adc/ti-adc081c.c
> index f4a46dd..893ba16 100644
> --- a/drivers/iio/adc/ti-adc081c.c
> +++ b/drivers/iio/adc/ti-adc081c.c
> @@ -55,8 +55,8 @@ static int adc081c_read_raw(struct iio_dev *iio,
>  
>  static const struct iio_chan_spec adc081c_channel = {
>  	.type = IIO_VOLTAGE,
> -	.info_mask = IIO_CHAN_INFO_SCALE_SHARED_BIT |
> -		     IIO_CHAN_INFO_RAW_SEPARATE_BIT,
> +	.info_mask_shared_by_type = IIO_CHAN_INFO_SCALE,
> +	.info_mask_separate = IIO_CHAN_INFO_RAW,
>  };
>  
>  static const struct iio_info adc081c_info = {

Acked-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>

Attachment: pgpc88leusEiW.pgp
Description: PGP signature


[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