public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env
Date: Fri, 4 Feb 2005 22:16:36 -0800	[thread overview]
Message-ID: <20050205061636.GA1185@kroah.com> (raw)
In-Reply-To: <20050202004812.GA29888@vrfy.org>

On Wed, Feb 02, 2005 at 01:48:12AM +0100, Kay Sievers wrote:
> On Tue, Feb 01, 2005 at 02:56:25PM -0800, Greg KH wrote:
> > Hm, that class_simple interface is looking like the way we should move
> > toward, as it's "simple" to use, instead of the more complex class code.
> > I'll have to look at migrating more code to use it over time, or move
> > that interface back into the class code itself...
> 
> Nice idea! What about keeping a list of devices belonging to a
> specific class in an own list in 'struct class' and maintaining that list
> with class_device_add(), class_device_del()?

What would that help out with?

> A class driver may use that list to keep track of its own devices if
> wanted and class_simple would not be needed anymore as everything
> would be available in the core.

I must be tired, but I don't see how class_simple could be dropped if
that was done.  Care to explain it with pseudo-code or something?

thanks,

greg k-h

  reply	other threads:[~2005-02-05  6:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23  4:19 [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env Kay Sievers
2005-02-01 22:56 ` Greg KH
2005-02-02  0:48   ` Kay Sievers
2005-02-05  6:16     ` Greg KH [this message]
2005-02-05 21:49       ` Kay Sievers

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=20050205061636.GA1185@kroah.com \
    --to=greg@kroah.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox