Re-factor to make macro more concise.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>