qeth: sysfs: replace strcmp() with sysfs_streq()
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>
Fri, 16 Jan 2015 13:05:48 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 04:55:00 +0000 (23:55 -0500)
commit7e846d6b91d9775e7b0b64035033909024338344
tree7eddff9bb1088e77e08e93a32e9bef8cd9f6d5a1
parentc3521254b16dbd270e194f81aa2cbdbcd6cc9f18
qeth: sysfs: replace strcmp() with sysfs_streq()

Replace combination of strsep() and a temporary char *
followed by a series of "if (!strcmp(...))" with a series
of "if (sysfs_streq(...))".

Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Reviewed-by: Thomas-Mich Richter <tmricht@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_l3_sys.c