ARM: keystone2: Convert BOOT_READ_BITFIELD into static inline function
authorNishanth Menon <nm@ti.com>
Tue, 15 Mar 2016 15:25:52 +0000 (10:25 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:11 +0000 (09:12 -0400)
commitf84e8e5b295e4298c413c3396af0638de3f07018
tree4bc0ccd445af3852a2b6e159e17bec61edb443d4
parentbc69b505f0303a23d831a03757d06b2acda26ebf
ARM: keystone2: Convert BOOT_READ_BITFIELD into static inline function

BOOT_READ_BITFIELD can easily be a static inline function and be a
little more readable with the same functionality.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/include/mach/psc_defs.h