diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2020-02-03 10:39:43 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-09 16:22:57 -0800 |
commit | 034280e33ea0bb00964adc30dddaf9a48ce75a8c (patch) | |
tree | 60166bdb3dd7654ff94c0620df248f0c91461aca /drivers/staging/exfat/exfat.h | |
parent | 8e2e79ff61f15f1af6f08aa754bacaf0d504265c (diff) |
staging: wilc1000: refactor SPI read/write commands handling API's
Refactor SPI commands handling by making use of 'struct' for data
exchange and extraction of information flow between host and firmware.
The SPI read/write commands are now handled in separate function instead
of using a single function to process all types of command.
The use of 'struct' helped to make the code self explanatory. These
points were discussed and suggested during code review [1].
1. https://www.spinics.net/lists/linux-wireless/msg191489.html
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200203160848.4052-1-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/exfat/exfat.h')
0 files changed, 0 insertions, 0 deletions