]> git.baikalelectronics.ru Git - kernel.git/commit
hisi_sas: use Unified Device Properties API
authorJohn Garry <john.garry@huawei.com>
Wed, 3 Feb 2016 18:26:08 +0000 (02:26 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit81548fa6d1e06aa5637d8def214d88c1ebdea506
tree0702932dd4bdbe394e56bce863cbbe125b99c12d
parentd4512227aff7067d01d24754033d49ca2118610a
hisi_sas: use Unified Device Properties API

The hisi_sas driver is required to support both device tree and
ACPI. The scanning of the device properties now uses the Unified Device
Properties API, which serves both OF and ACPI.

Since syscon is not supported by ACPI, syscon is only used in the driver
when device tree is used.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c