All of lore.kernel.org
 help / color / mirror / Atom feed
From: yani.ioannou@gmail.com (Yani Ioannou)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs
Date: Sat, 21 May 2005 15:22:35 +0000	[thread overview]
Message-ID: <2538186705052104193fa7f10c@mail.gmail.com> (raw)
In-Reply-To: <20050503034928.GC4977@jupiter.solarsys.private>

Hi Mark,

What's the status on the hwmon patch? I'm looking at updating
bmcsensors now and Jean suggested bmcsensors should be modified to get
rid of any i2c references before submitting it (since it has
absolutely nothing to do with i2c), but from what I can tell this was
the last message about it. I'd really like to see something like this
get accepted soon.

Thanks,
Yani


On 5/3/05, Greg KH <greg@kroah.com> wrote:
> On Mon, May 02, 2005 at 11:49:28PM -0400, Mark M. Hoffman wrote:
> >
> > This patch adds the sysfs class "hwmon" for use by hardware monitoring
> > (sensors) chip drivers.  It (the Kconfig text) presumes that sensors
> > chip drivers will be moved to drivers/hwmon (although that is not done
> > by this patch).
> 
> Looks good, minor comments:
> 
> > --- linux-2.6.12-rc3-mm2.orig/drivers/hwmon/hwmon.c   2005-04-22 03:12:06.429003480 -0400
> > +++ linux-2.6.12-rc3-mm2/drivers/hwmon/hwmon.c        2005-05-02 22:34:51.000000000 -0400
> > @@ -0,0 +1,64 @@
> > +/*
> > +    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; either version 2 of the License, or
> > +    (at your option) any later version.
> 
> Do you really mean "any later version"?
> 
> > +    This program is distributed in the hope that it will be useful,
> > +    but WITHOUT ANY WARRANTY; without even the implied warranty of
> > +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > +    GNU General Public License for more details.
> > +
> > +    You should have received a copy of the GNU General Public License
> > +    along with this program; if not, write to the Free Software
> > +    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> 
> You don't need these two paragraphs.
> 
> > +EXPORT_SYMBOL(hwmon_device_register);
> > +EXPORT_SYMBOL(hwmon_device_unregister);
> 
> EXPORT_SYMBOL_GPL() perhaps?
> 
> > +/**
> > + * hwmon_device_register - register w/ hwmon sysfs class
> > + * @dev: the device to register
> > + *
> > + * hwmon_device_unregister() must be called when the class device is no longer needed.
> > + *
> > + * Returns the pointer to the new struct class device.
> > + */
> > +struct class_device *hwmon_device_register(struct device *dev);
> 
> kerneldoc comments belong in the .c file, not the .h file.
> 
> thanks,
> 
> greg k-h
> 
>


  parent reply	other threads:[~2005-05-21 15:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs class "hwmon" Mark M. Hoffman
2005-05-19  6:25 ` Greg KH
2005-05-21 15:22 ` Yani Ioannou [this message]
2005-05-23  4:01 ` [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs Mark M. Hoffman
2005-05-23  5:37 ` Yani Ioannou
2005-05-23 14:48 ` [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs class Jean Delvare
2005-05-23 16:28 ` [lm-sensors] Re: [RFC PATCH 2.6.12-rc3-mm2 1/2] i2c: new sysfs Yani Ioannou
2005-05-25  3:42 ` Yani Ioannou
2005-05-26  5:38 ` Mark M. Hoffman
2005-05-26  5:55 ` Mark M. Hoffman
2005-05-26  6:18 ` Yani Ioannou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2538186705052104193fa7f10c@mail.gmail.com \
    --to=yani.ioannou@gmail.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.