staging: fsl-mc: drop macros with possible side effects
commit410ab9b5f8a925ce082ddd001c4e73aab8b699de
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 22 Jun 2017 13:35:47 +0000 (22 16:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jun 2017 16:44:00 +0000 (23 18:44 +0200)
treede8629d09b2b36929b2b1db232f13b055439d3d9
parentd2176b325f8a640d7adbf882f4e0f29767d04b8e
staging: fsl-mc: drop macros with possible side effects

Several macros were triggering this checkpatch.pl warning:
  "Macro argument reuse '$arg' - possible side-effects?"
Fix the warning by turning them into real functions.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c