Re: [PATCH 1/3] staging: iio: light: isl29018: fix typo

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

 




On 29/08/14 15:26, Laurentiu Palcu wrote:
> isl29108 was used, instead of isl29018.
> 
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@xxxxxxxxx>
Applied to the togreg branch of iio.git - initially pushed out as testing for the
autobuilders to play.

Thanks,

Jonathan
> ---
>  drivers/staging/iio/light/isl29018.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
> index 86cc8f9..63c70be 100644
> --- a/drivers/staging/iio/light/isl29018.c
> +++ b/drivers/staging/iio/light/isl29018.c
> @@ -447,7 +447,7 @@ static struct attribute *isl29018_attributes[] = {
>  	NULL
>  };
>  
> -static const struct attribute_group isl29108_group = {
> +static const struct attribute_group isl29018_group = {
>  	.attrs = isl29018_attributes,
>  };
>  
> @@ -510,8 +510,8 @@ static int isl29018_chip_init(struct isl29018_chip *chip)
>  	return 0;
>  }
>  
> -static const struct iio_info isl29108_info = {
> -	.attrs = &isl29108_group,
> +static const struct iio_info isl29018_info = {
> +	.attrs = &isl29018_group,
>  	.driver_module = THIS_MODULE,
>  	.read_raw = &isl29018_read_raw,
>  	.write_raw = &isl29018_write_raw,
> @@ -579,7 +579,7 @@ static int isl29018_probe(struct i2c_client *client,
>  	if (err)
>  		return err;
>  
> -	indio_dev->info = &isl29108_info;
> +	indio_dev->info = &isl29018_info;
>  	indio_dev->channels = isl29018_channels;
>  	indio_dev->num_channels = ARRAY_SIZE(isl29018_channels);
>  	indio_dev->name = id->name;
> 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux