Re: [PATCH] use misc dynamic minor for sonypi driver

2005-01-27 Thread Stelian Pop
On Thu, Jan 27, 2005 at 02:46:40PM +0100, Olaf Hering wrote: > > Whats the reason for using -1 as minor number? > No idea if that works well, it probably does. > Maybe add a comment if -1 is supposed to work. > > > --- ../linux-2.6.11-rc2/drivers/char/sonypi.c 2005-01-22 02:48:34.0 > +

[PATCH] use misc dynamic minor for sonypi driver

2005-01-27 Thread Olaf Hering
Whats the reason for using -1 as minor number? No idea if that works well, it probably does. Maybe add a comment if -1 is supposed to work. --- ../linux-2.6.11-rc2/drivers/char/sonypi.c 2005-01-22 02:48:34.0 +0100 +++ ./drivers/char/sonypi.c 2005-01-27 14:40:47.873882682 +0100 @@