]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacaf006c4730ac8239bdda6651fdaff6c53f70a5
tree11a8b4d7e9f10396ed9a59421f8b2d350c508061
parentb02829724785dc603ed1432a19c96577135a7a75
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