staging: ks7010: use linux circular buffer header macros to handle tx and rx queues
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 16 Apr 2018 10:29:23 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:29:44 +0000 (14:29 +0200)
commite6bc5053b8533725f649898d6df57a4dd49ac848
treeb22ae2fdc366c7fe2d6cc26a0d65ddaf1e73b952
parent6adc30b17922ea67d4ad93887b8d59d4c7d4516d
staging: ks7010: use linux circular buffer header macros to handle tx and rx queues

This commit replace current custom implementation of some circular
buffer head and tail logic in favour of the use of macros defined
in linux circ_buf.h header. Queue related inline function names
have been review also.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c