nios2: use of_property_read_bool
authorLey Foon Tan <lftan@altera.com>
Thu, 25 Aug 2016 08:11:59 +0000 (16:11 +0800)
committerLey Foon Tan <lftan@altera.com>
Thu, 6 Oct 2016 10:19:16 +0000 (18:19 +0800)
commit476080a79367b950cb860ccf8a3a53fd24f6cccc
treee2fcb36662977631ccf9c40cd0eb33f39df7780e
parentc8d2bc9bc39ebea8437fd974fdbc21847bb897a3
nios2: use of_property_read_bool

Use of_property_read_bool instead of open-coding it as fpcu_has.
Convert the members of struct cpuinfo from u32 to bool accordingly as
they are only used as boolean anyhow.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/include/asm/cpuinfo.h
arch/nios2/kernel/cpuinfo.c