hwmon: (hwmon) Fix multi-line comments
Guenter Roeck
maintainerPATCH 29/82 hwmon: (hwmon) Fix multi-line comments
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/hwmon/hwmon.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)
drivers/hwmon/hwmon.c +12 -12
@@ -1,14 +1,14 @@/* -hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring - -This file defines the sysfs class "hwmon", for use by sensors drivers. - -Copyright (C) 2005 Mark M. Hoffman <[email protected]> - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; version 2 of the License. -*/ +* hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring +* +* This file defines the sysfs class "hwmon", for use by sensors drivers. +* +* Copyright (C) 2005 Mark M. Hoffman <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; version 2 of the License. +*/ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
@@ -29,7 +29,7 @@ static struct class *hwmon_class;static DEFINE_IDA (hwmon_ida); -/** +/* * hwmon_device_register - register w/ hwmon * @dev: the device to register *
@@ -57,7 +57,7 @@ struct device *hwmon_device_register(struct device *dev) }EXPORT_SYMBOL_GPL (hwmon_device_register); -/** +/* * hwmon_device_unregister - removes the previously registered class device * * @dev: the class device to destroy
Signature · 7 lines
1.7.5.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Guenter,
Quoted 20 lines · Guenter Roeck
Signed-off-by Guenter Roeck <[email protected]>--- drivers/hwmon/hwmon.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)drivers/hwmon/hwmon.c +1
-1@@ -29,7 +29,7 @@ static struct class *hwmon_class;static DEFINE_IDA (hwmon_ida); -/** +/* * hwmon_device_register - register w/ hwmon * @dev: the device to register *
drivers/hwmon/hwmon.c struct device *hwmon_device_register(struct device *dev) · line 63
Quoted 8 lines
drivers/hwmon/hwmon.c +1
-1@@ -57,7 +57,7 @@ struct device *hwmon_device_register(struct device *dev) }EXPORT_SYMBOL_GPL (hwmon_device_register); -/** +/* * hwmon_device_unregister - removes the previously registered class device * * @dev: the class device to destroy
These are markers for DocBook documentation, you shouldn't remove them. As a matter of fact checkpatch doesn't complain about them.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 26 lines · Jean Delvare
Hi Guenter,
Quoted 23 lines · Guenter Roeck
Signed-off-by Guenter Roeck <[email protected]>--- drivers/hwmon/hwmon.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)drivers/hwmon/hwmon.c +1
-1@@ -29,7 +29,7 @@ static struct class *hwmon_class;static DEFINE_IDA (hwmon_ida); -/** +/* * hwmon_device_register - register w/ hwmon * @dev: the device to register * @@ -57,7 +57,7 @@ struct device *hwmon_device_register(struct device *dev) }EXPORT_SYMBOL_GPL (hwmon_device_register);
Quoted 9 lines
drivers/hwmon/hwmon.c struct device *hwmon_device_register(struct device *dev) · line 63
Quoted 5 lines
drivers/hwmon/hwmon.c +1
-1-/** +/* * hwmon_device_unregister - removes the previously registered class device * * @dev: the class device to destroy These are markers for DocBook documentation, you shouldn't remove them. As a matter of fact checkpatch doesn't complain about them.
No problem, will do.
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors