linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: Put button input devices in correct place in sysfs
@ 2007-11-06 17:51 Andrey Borzenkov
  2007-11-06 20:47 ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Borzenkov @ 2007-11-06 17:51 UTC (permalink / raw)
  To: linux-acpi, linux-input; +Cc: dmitry.torokhov

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

Properly set up parent on input device registered by the button driver.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>

---

 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 100644
--- a/drivers/acpi/button.c
+++ b/drivers/acpi/button.c
@@ -450,6 +450,7 @@ static int acpi_button_add(struct acpi_device *device)
 		break;
 	}
 
+	input->cdev.dev = &device->dev;
 	error = input_register_device(input);
 	if (error)
 		goto err_remove_handlers;

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-14 22:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06 17:51 [PATCH] ACPI: Put button input devices in correct place in sysfs Andrey Borzenkov
2007-11-06 20:47 ` Dmitry Torokhov
2007-11-11  8:42   ` Andrey Borzenkov
2007-11-14 17:32     ` Dmitry Torokhov
2008-01-14 22:25     ` Carlos Corbacho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).