Re: [PATCH v4 net-next 00/13] net: hns: add support of ACPI
From: David Miller
Date: Sat Jun 04 2016 - 22:13:40 EST
From: Yisen Zhuang <Yisen.Zhuang@xxxxxxxxxx>
Date: Fri, 3 Jun 2016 10:55:08 +0800
> From: Kejian Yan <yankejian@xxxxxxxxxx>
> This series adds HNS support of acpi. The routine will call some ACPI
> helper functions, like acpi_dev_found() and acpi_evaluate_dsm(), which
> are not included in other cases. In order to make system compile
> successfully in other cases except ACPI, it needs to add relative stub
> functions to linux/acpi.h. And we use device property functions instead
> of serial helper functions to suport both DT and ACPI cases. And then
> add the supports of ACPI for HNS.
> change log:
> mii-id gets from dev-name instead of address
> 1. add Review-by: Andy Shevchenko
> 2. fix the potential memory leak
> v1 -> v2:
> 1. use acpi_dev_found() instead of acpi_match_device_ids() to check if
> it is a acpi node.
> 2. use is_of_node() instead of IS_ENABLED() to check if it is a DT node.
> 3. split the patch("add support of acpi for hns-mdio") into two patches:
> 3.1 Move to use fwnode_handle
> 3.2 Add ACPI
> 4. add the patch which subject is dsaf misc operation method
> 5. fix the comments by Andy Shevchenko
Series applied, thanks.