From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: [PATCH] hwmon class driver registration with a device number
Date: Wed, 5 Oct 2011 12:33:59 -0700 [thread overview]
Message-ID: <20111005193359.GB26664@kroah.com> (raw)
In-Reply-To: <1317834791-2803-1-git-send-email-hschauhan@nulltrace.org>
On Wed, Oct 05, 2011 at 10:43:11PM +0530, Himanshu Chauhan wrote:
> This patch adds a way to register a hwmon class driver
> with a device number rather than the default MK_DEV(0,0).
> This would help in creating required "dev" file under
> sysfs which in turn can be used in populating /dev tree
> during bootup (helpful to driver which want to show up
> a char interface along with sysfs).
How do you later remove a device created with this new interface? As it
is, I think the existing calls will fail, right?
greg k-h
WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: Himanshu Chauhan <hschauhan@nulltrace.org>
Cc: linux-kernel@vger.kernel.org, kernelnewbies@kernelnewbies.org
Subject: Re: [PATCH] hwmon class driver registration with a device number
Date: Wed, 5 Oct 2011 12:33:59 -0700 [thread overview]
Message-ID: <20111005193359.GB26664@kroah.com> (raw)
In-Reply-To: <1317834791-2803-1-git-send-email-hschauhan@nulltrace.org>
On Wed, Oct 05, 2011 at 10:43:11PM +0530, Himanshu Chauhan wrote:
> This patch adds a way to register a hwmon class driver
> with a device number rather than the default MK_DEV(0,0).
> This would help in creating required "dev" file under
> sysfs which in turn can be used in populating /dev tree
> during bootup (helpful to driver which want to show up
> a char interface along with sysfs).
How do you later remove a device created with this new interface? As it
is, I think the existing calls will fail, right?
greg k-h
next prev parent reply other threads:[~2011-10-05 19:33 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-05 17:13 [PATCH] hwmon class driver registration with a device number Himanshu Chauhan
2011-10-05 17:13 ` Himanshu Chauhan
2011-10-05 18:30 ` [lm-sensors] [PATCH] hwmon class driver registration with a Guenter Roeck
2011-10-05 18:30 ` [PATCH] hwmon class driver registration with a device number Guenter Roeck
2011-10-06 4:06 ` Himanshu Chauhan
2011-10-06 4:18 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-06 4:06 ` [PATCH] hwmon class driver registration with a device number Himanshu Chauhan
2011-10-06 5:19 ` [lm-sensors] [PATCH] hwmon class driver registration with a Guenter Roeck
2011-10-06 5:19 ` [PATCH] hwmon class driver registration with a device number Guenter Roeck
2011-10-06 7:43 ` [lm-sensors] [PATCH] hwmon class driver registration with a Jean Delvare
2011-10-06 7:43 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Jean Delvare
2011-10-06 15:12 ` Himanshu Chauhan
2011-10-06 15:24 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-06 15:46 ` Alan Cox
2011-10-06 15:46 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Alan Cox
2011-10-06 16:25 ` Himanshu Chauhan
2011-10-06 16:37 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-06 15:15 ` Guenter Roeck
2011-10-06 15:15 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Guenter Roeck
2011-10-06 16:43 ` Himanshu Chauhan
2011-10-06 16:55 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-05 19:33 ` Greg KH [this message]
2011-10-05 19:33 ` [PATCH] hwmon class driver registration with a device number Greg KH
2011-10-06 4:10 ` Himanshu Chauhan
2011-10-06 4:22 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-06 4:10 ` [PATCH] hwmon class driver registration with a device number Himanshu Chauhan
2011-10-06 18:25 ` Greg KH
2011-10-06 18:25 ` Greg KH
2011-10-06 18:25 ` [lm-sensors] [PATCH] hwmon class driver registration with a Greg KH
2011-10-06 19:07 ` Guenter Roeck
2011-10-06 19:07 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Guenter Roeck
2011-10-07 6:42 ` Himanshu Chauhan
2011-10-07 6:54 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-07 6:42 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Himanshu Chauhan
2011-10-07 6:52 ` Greg KH
2011-10-07 6:52 ` Greg KH
2011-10-07 6:52 ` [lm-sensors] [PATCH] hwmon class driver registration with a Greg KH
2011-10-07 9:56 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Himanshu Chauhan
2011-10-07 10:08 ` [lm-sensors] [PATCH] hwmon class driver registration with a Himanshu Chauhan
2011-10-07 9:56 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Himanshu Chauhan
2011-10-07 11:11 ` [lm-sensors] [PATCH] hwmon class driver registration with a Jonathan Cameron
2011-10-07 11:11 ` [lm-sensors] [PATCH] hwmon class driver registration with a device number Jonathan Cameron
2011-10-07 15:46 ` Greg KH
2011-10-07 15:46 ` Greg KH
2011-10-07 15:46 ` [lm-sensors] [PATCH] hwmon class driver registration with a Greg KH
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=20111005193359.GB26664@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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.