scsi: sun_esp: Use of_node_name_eq for node name comparisons
authorRob Herring <robh@kernel.org>
Wed, 5 Dec 2018 19:50:39 +0000 (13:50 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 8 Dec 2018 02:56:06 +0000 (21:56 -0500)
commit4b66810303f507a56d07ba9b1b264cd51c41fed6
treedb1a3eeb673dcf587030130e83cab77c52cfa72d
parent3beeabd5f2d1fc7a48cb887a298bc412789a1f68
scsi: sun_esp: Use of_node_name_eq for node name comparisons

Convert string compares of DT node names to use of_node_name_eq helper
instead. This removes direct access to the node name pointer.

Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sun_esp.c