hisi_sas: Scan device tree
authorJohn Garry <john.garry@huawei.com>
Tue, 17 Nov 2015 16:50:32 +0000 (00:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 26 Nov 2015 03:12:52 +0000 (22:12 -0500)
commite26b2f405a6a65c0ce0ea168aef7d4607ec7ad80
treebd2f713bccc9ed7b9da5d8477359a56b2b61b4c8
parent7eb7869f1307cc86fca9afd1425bba023c35414f
hisi_sas: Scan device tree

Scan the device tree for all properties. Also do this:

- do ioremap for SAS registers
- allocate memory for interrupt names

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
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