Thread (4 messages) 4 messages, 2 authors, 2008-07-17

Re: [PATCH] new driver for SGI volume buttons

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2008-07-17 18:27:51

On Thu, Jul 17, 2008 at 07:38:35PM +0200, Thomas Bogendoerfer wrote:
On Thu, Jul 17, 2008 at 12:05:11PM -0400, Dmitry Torokhov wrote:
quoted
On Tue, Jul 15, 2008 at 01:04:36PM +0200, Thomas Bogendoerfer wrote:
quoted
This driver adds support for the volume buttons on the front of every
SGI Indy and O2 workstation.
Looks very nice. Do you think we could pass a pointer to
button_status() in device's platform data and get rid of ifdefs
altogether?
it's doable, but would need an extra header file for declaring
a struct for passing the button_status() function pointer. If
you think that's worth it, I'll implement it.
I think it is OK as is for now. If we ever want to add yet another
button flavor then I would request this change.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help