lkml.org 
[lkml]   [2013]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/5] ACPI: Rework acpi_bus_trim()
    2013/01/15 6:33, Rafael J. Wysocki wrote:
    > Hi All,
    >
    > This series of patches changes the way acpi_bus_trim() works so that,
    > eventually, it walks the namespace twice detaching (ACPI) drivers from
    > device nodes being removed in the first pass and removing the device
    > nodes in the second pass.
    >
    > The first two patches are just cleanups removing unused stuff:
    >

    > [1/5] Remove the ops field from struct acpi_device (unrelated to the rest).
    > [2/5] Drop the second argument of acpi_device_unregister().
    >
    > The next three patches actually rework acpi_bus_trim() in three steps:
    >
    > [3/5] Drop the second argument of acpi_bus_trim() (all callers pass 1 in there
    > anyway.
    > [4/5] Reimplement acpi_bus_trim() using acpi_walk_namespace().
    > [3/5] Make acpi_bus_trim() carry out two passes as described above.

    Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>

    >
    > I'm aware of the fact that this will conflict with the patches that Yinghai
    > posted a few days ago, but in my opinion the changes here are prerequisite for
    > the Yinghai's patchset.
    >
    > Thanks,
    > Rafael
    >
    >




    \
     
     \ /
      Last update: 2013-01-15 02:21    [W:3.542 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site