+ acpi-make-real-parent-for-acpi-button-input-devices.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     acpi: make real parent for ACPI button input devices
has been added to the -mm tree.  Its filename is
     acpi-make-real-parent-for-acpi-button-input-devices.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: acpi: make real parent for ACPI button input devices
From: Andrey Borzenkov <arvidjaar@xxxxxxx>

Make sure input device for ACPI button gets proper place in device tree.

Signed-off-by: Andrey Borzenkov <arvidjaar@xxxxxxx>
Cc: Len Brown <lenb@xxxxxxxxxx>
Cc: Dmitry Torokhov <dtor@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/acpi/button.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/acpi/button.c~acpi-make-real-parent-for-acpi-button-input-devices drivers/acpi/button.c
--- a/drivers/acpi/button.c~acpi-make-real-parent-for-acpi-button-input-devices
+++ a/drivers/acpi/button.c
@@ -449,6 +449,7 @@ static int acpi_button_add(struct acpi_d
 	input->phys = button->phys;
 	input->id.bustype = BUS_HOST;
 	input->id.product = button->type;
+	input->dev.parent = &device->dev;
 
 	switch (button->type) {
 	case ACPI_BUTTON_TYPE_POWER:
_

Patches currently in -mm which might be from arvidjaar@xxxxxxx are

acpi-add-acpi-aliases-to-toshiba_acpi-module.patch
acpi-make-real-parent-for-acpi-button-input-devices.patch
e100-do-suspend-shutdown-like-e1000.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux