2018-09-20 13:51:40

by Song Qiang

[permalink] [raw]
Subject: [PATCH] iio: magnetometer: hmc5843: Fixed a comment error.

Replace 'hcm5843' with 'hmc5843'.

Signed-off-by: Song Qiang <[email protected]>
---
drivers/iio/magnetometer/hmc5843.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/magnetometer/hmc5843.h b/drivers/iio/magnetometer/hmc5843.h
index 76a5d7484d8d..a75224cf99df 100644
--- a/drivers/iio/magnetometer/hmc5843.h
+++ b/drivers/iio/magnetometer/hmc5843.h
@@ -31,7 +31,7 @@ enum hmc5843_ids {
};

/**
- * struct hcm5843_data - device specific data
+ * struct hmc5843_data - device specific data
* @dev: actual device
* @lock: update and read regmap data
* @regmap: hardware access register maps
--
2.17.1



2018-09-22 09:24:55

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: magnetometer: hmc5843: Fixed a comment error.

On Thu, 20 Sep 2018 21:49:46 +0800
Song Qiang <[email protected]> wrote:

> Replace 'hcm5843' with 'hmc5843'.
>
> Signed-off-by: Song Qiang <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to ignore (because there will be other things
in there that they won't later today :)

Thanks,

Jonathan

> ---
> drivers/iio/magnetometer/hmc5843.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/magnetometer/hmc5843.h b/drivers/iio/magnetometer/hmc5843.h
> index 76a5d7484d8d..a75224cf99df 100644
> --- a/drivers/iio/magnetometer/hmc5843.h
> +++ b/drivers/iio/magnetometer/hmc5843.h
> @@ -31,7 +31,7 @@ enum hmc5843_ids {
> };
>
> /**
> - * struct hcm5843_data - device specific data
> + * struct hmc5843_data - device specific data
> * @dev: actual device
> * @lock: update and read regmap data
> * @regmap: hardware access register maps