From: Greg KH <greg@kroah.com>
To: Andrew Zabolotny <zap@homelink.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: two patches - request for comments
Date: Fri, 28 May 2004 15:10:06 -0700 [thread overview]
Message-ID: <20040528221006.GB13851@kroah.com> (raw)
In-Reply-To: <20040529012030.795ad27e.zap@homelink.ru>
On Sat, May 29, 2004 at 01:20:30AM +0400, Andrew Zabolotny wrote:
> Hello!
>
> I'm going to submit the class_find_device() patch (attached for your
> convenience) as a pre-requisite for the backlight/lcd device class patch
> (also included so that you can take at it as well) via Russel King (the
> backlight/lcd patch is needed for our ARM-based handhelds framebuffer
> devices). Any comments/objections are welcome.
>
> The LCD and backlight device classes were implemented with the following in
> mind:
Becides the comments that Todd had about the power management stuff, I
have the following comments:
- please inline your patches, I can't quote them :(
- you create the DEVICE_ATTR macro, why not use the one already
created for you (CLASS_DEVICE_ATTR will work I think.)
- Don't do a unregister function by passing a string to it.
Explicitly pass the pointer of the object that you want to
unregister, like all other kernel interfaces do. With that
change you no longer need the class_find_device() patch,
right?
- How about some drivers that actually use this interface?
Again, you are creating interfaces with no examples of users
of the interface, which isn't acceptable.
thanks,
greg k-h
next prev parent reply other threads:[~2004-05-28 22:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-28 21:20 Andrew Zabolotny
2004-05-28 21:59 ` Todd Poynor
2004-05-29 8:10 ` Andrew Zabolotny
2004-06-01 20:09 ` Todd Poynor
2004-06-01 21:00 ` Andrew Zabolotny
2004-06-02 17:15 ` Greg KH
2004-06-02 21:25 ` Andrew Zabolotny
2004-06-02 21:32 ` Russell King
2004-06-04 20:43 ` Greg KH
2004-05-28 22:10 ` Greg KH [this message]
2004-05-29 8:44 ` Andrew Zabolotny
2004-06-01 21:23 ` Jeff Garzik
2004-06-01 21:57 ` Andrew Zabolotny
2004-06-02 17:12 ` Greg KH
2004-05-29 13:46 ` Denis Vlasenko
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=20040528221006.GB13851@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zap@homelink.ru \
/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
all inboxes | Powered by JetHome®