From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752993AbaBJX5d (ORCPT ); Mon, 10 Feb 2014 18:57:33 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:65523 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752740AbaBJX5W (ORCPT ); Mon, 10 Feb 2014 18:57:22 -0500 From: "Rafael J. Wysocki" To: ACPI Devel Maling List Cc: Linux Kernel Mailing List , Bjorn Helgaas Subject: [PATCH 0/3] ACPI / dock: Rework the handling of dock notifications Date: Tue, 11 Feb 2014 01:09:32 +0100 Message-ID: <3728252.WpMGKRKmqq@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.13.0+; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, This is on top of the current linux-next branch of linux-pm.git. The handling of ACPI dock notifications doesn't require a notify handler to be installed for every dock device object. Moreover, the namespace doesn't have to be scanned upfront to discover those objects and the ACPI container code should be made avoid trying to handle dock notifications (in case dock stations have container device IDs). The series makes the changes following from the above observations and a couple of improvements on top of them. [1/3] Dispatch ACPI dock notifications from the global notify handler. [2/3] Pass ACPI device pointer to acpi_device_is_battery() (which is a new helper function added by [1/3]). [3/3] Associate dock platform devices with ACPI device objects Thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.