All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 29/82] hwmon: (hwmon) Fix multi-line comments
@ 2012-01-19 23:55 Guenter Roeck
  2012-01-20 13:57 ` Jean Delvare
  2012-01-20 14:51 ` Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Guenter Roeck @ 2012-01-19 23:55 UTC (permalink / raw)
  To: lm-sensors

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/hwmon/hwmon.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c
index b58a0ff..c0b05ca 100644
--- a/drivers/hwmon/hwmon.c
+++ b/drivers/hwmon/hwmon.c
@@ -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 <mhoffman@lightlink.com>
-
-    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 <mhoffman@lightlink.com>
+ *
+ * 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
-- 
1.7.5.4


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] [PATCH 29/82] hwmon: (hwmon) Fix multi-line comments
  2012-01-19 23:55 [lm-sensors] [PATCH 29/82] hwmon: (hwmon) Fix multi-line comments Guenter Roeck
@ 2012-01-20 13:57 ` Jean Delvare
  2012-01-20 14:51 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2012-01-20 13:57 UTC (permalink / raw)
  To: lm-sensors

Hi Guenter,

On Thu, 19 Jan 2012 15:55:23 -0800, Guenter Roeck wrote:
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  drivers/hwmon/hwmon.c |   24 ++++++++++++------------
>  1 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c
> index b58a0ff..c0b05ca 100644
> --- a/drivers/hwmon/hwmon.c
> +++ b/drivers/hwmon/hwmon.c
> (...)
> @@ -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

These are markers for DocBook documentation, you shouldn't remove them.
As a matter of fact checkpatch doesn't complain about them.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] [PATCH 29/82] hwmon: (hwmon) Fix multi-line comments
  2012-01-19 23:55 [lm-sensors] [PATCH 29/82] hwmon: (hwmon) Fix multi-line comments Guenter Roeck
  2012-01-20 13:57 ` Jean Delvare
@ 2012-01-20 14:51 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2012-01-20 14:51 UTC (permalink / raw)
  To: lm-sensors

On Fri, Jan 20, 2012 at 08:57:04AM -0500, Jean Delvare wrote:
> Hi Guenter,
> 
> On Thu, 19 Jan 2012 15:55:23 -0800, Guenter Roeck wrote:
> > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> > ---
> >  drivers/hwmon/hwmon.c |   24 ++++++++++++------------
> >  1 files changed, 12 insertions(+), 12 deletions(-)
> > 
> > diff --git a/drivers/hwmon/hwmon.c b/drivers/hwmon/hwmon.c
> > index b58a0ff..c0b05ca 100644
> > --- a/drivers/hwmon/hwmon.c
> > +++ b/drivers/hwmon/hwmon.c
> > (...)
> > @@ -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
> 
> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-20 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 23:55 [lm-sensors] [PATCH 29/82] hwmon: (hwmon) Fix multi-line comments Guenter Roeck
2012-01-20 13:57 ` Jean Delvare
2012-01-20 14:51 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.