frv: Use OFFSET macro in DEF_*REG()
commit20c994e4d806e0c656b5fe0d14b17896b73a086c
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 3 Apr 2017 19:46:36 +0000 (3 12:46 -0700)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 18 Apr 2017 16:12:19 +0000 (19 01:12 +0900)
tree902a781cca4aed6e6b6f2d87d0d96eb5387d6e58
parent90ad4052e85cece1bbae064ff4b14088de35df29
frv: Use OFFSET macro in DEF_*REG()

Avoid code duplication by using OFFSET() in DEF_*REG() instead of
replicating the macro.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/frv/kernel/asm-offsets.c