]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: use CIRC_CNT_TO_END macro in cnt_smeqbody
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:45 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:40 +0000 (18:58 -0700)
commit34243ab7d36ca493f06a94a7ce0218664b8fcb9a
treea50c51ab62d20f9fe39e865a83d670a077510064
parent699c8652337e8c2f86809f123d04dd87fe700d40
staging: ks7010: use CIRC_CNT_TO_END macro in cnt_smeqbody

This commit changes custom implementation of CIRC_CNT_TO_END.
Just use the linux kernel header one to simplify code.

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