Browse Source

iio: hmc5843: Fix comment style warnings

Fix comment style warnings in order to comply with Coding Style
standard provided by Documentation/CodingStyle.

This patch solves following issue found with checkpatch:
WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cristina Moraru 9 năm trước cách đây
mục cha
commit
4630adb8ec

+ 2 - 3
drivers/staging/iio/magnetometer/hmc5843.h

@@ -7,8 +7,7 @@
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  * published by the Free Software Foundation.
- *
- * */
+ */
 
 
 #ifndef HMC5843_CORE_H
 #ifndef HMC5843_CORE_H
 #define HMC5843_CORE_H
 #define HMC5843_CORE_H
@@ -38,7 +37,7 @@ enum hmc5843_ids {
  * @regmap:		hardware access register maps
  * @regmap:		hardware access register maps
  * @variant:		describe chip variants
  * @variant:		describe chip variants
  * @buffer:		3x 16-bit channels + padding + 64-bit timestamp
  * @buffer:		3x 16-bit channels + padding + 64-bit timestamp
- **/
+ */
 struct hmc5843_data {
 struct hmc5843_data {
 	struct device *dev;
 	struct device *dev;
 	struct mutex lock;
 	struct mutex lock;

+ 1 - 2
drivers/staging/iio/magnetometer/hmc5843_i2c.c

@@ -7,8 +7,7 @@
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  * published by the Free Software Foundation.
- *
- * */
+ */
 
 
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/i2c.h>
 #include <linux/i2c.h>

+ 1 - 2
drivers/staging/iio/magnetometer/hmc5843_spi.c

@@ -6,8 +6,7 @@
  * This program is free software; you can redistribute it and/or modify
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  * published by the Free Software Foundation.
- *
- * */
+ */
 
 
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/spi.h>