staging: slicoss: change some macros into inline functions
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 21 Nov 2016 16:48:24 +0000 (17:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Nov 2016 07:52:09 +0000 (08:52 +0100)
commitc208faefdf134e8050a6f29ce35cc36afa3a530f
tree11a8b4d7e9f10396ed9a59421f8b2d350c508061
parent08711b876d3f1ea0b62b84b68214087e5bca21b7
staging: slicoss: change some macros into inline functions

This patch changes macros into inline functions to avoid this checkpatch
check:
Macro argument 'x' may be better as '(x)' to avoid precedence issues

It also removes two macros because they aren't being used.

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