Re: [PATCH] ACPI: Put button input devices in correct place in sysfs

2007-11-14 Thread Dmitry Torokhov
On 11/11/07, Andrey Borzenkov <[EMAIL PROTECTED]> wrote: > On Tuesday 06 November 2007, Dmitry Torokhov wrote: > > Hi Andrey, > > > > On Nov 6, 2007 12:51 PM, Andrey Borzenkov <[EMAIL PROTECTED]> wrote: > > > Properly set up parent on input device registered by the button driver. > > > > > > > Seem

Re: [PATCH] ACPI: Put button input devices in correct place in sysfs

2007-11-11 Thread Andrey Borzenkov
On Tuesday 06 November 2007, Dmitry Torokhov wrote: > Hi Andrey, > > On Nov 6, 2007 12:51 PM, Andrey Borzenkov <[EMAIL PROTECTED]> wrote: > > Properly set up parent on input device registered by the button driver. > > > > Seems to be a popular topic today :) > > > > > + input->cdev.dev = &

Re: [PATCH] ACPI: Put button input devices in correct place in sysfs

2007-11-06 Thread Dmitry Torokhov
Hi Andrey, On Nov 6, 2007 12:51 PM, Andrey Borzenkov <[EMAIL PROTECTED]> wrote: > Properly set up parent on input device registered by the button driver. > Seems to be a popular topic today :) > > + input->cdev.dev = &device->dev; Please don't use cdev, but rather input_dev->dev.parent. c

[PATCH] ACPI: Put button input devices in correct place in sysfs

2007-11-06 Thread Andrey Borzenkov
Properly set up parent on input device registered by the button driver. Signed-off-by: Andrey Borzenkov <[EMAIL PROTECTED]> --- drivers/acpi/button.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 301e832..5b0f065 100