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)
commit4d558c7774f07857db001eab73490358e5f7ad75
tree0702932dd4bdbe394e56bce863cbbe125b99c12d
parentf64d92e66520aa784d1428bb9a4f6a2bcbdbbe32
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