From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 5 Oct 2011 12:33:59 -0700 Subject: [PATCH] hwmon class driver registration with a device number In-Reply-To: <1317834791-2803-1-git-send-email-hschauhan@nulltrace.org> References: <1317834791-2803-1-git-send-email-hschauhan@nulltrace.org> Message-ID: <20111005193359.GB26664@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.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