staging: wilc1000: simplified if conditions in spi_data_write()
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 25 Apr 2018 17:18:12 +0000 (22:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 07:43:04 +0000 (09:43 +0200)
commiteaa5f7befa1c8dcd9218c87ee78b6a34c156ea48
tree470b8c510dafbe854198788cea2cec4a4cb4329f
parent73a75364c8de3ec8cba5687eecfa783892e03051
staging: wilc1000: simplified if conditions in spi_data_write()

Cleanup patch to simplify the if conditions logic in spi_data_write().

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_spi.c