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>
Fri, 26 Aug 2016 03:10:44 +0000 (11:10 +0800)
commit65f836ae4de018092ba0f443a8da799fb467d660
tree83720242c3e83a23da4b878b152a020e777d9163
parentfa8410b355251fd30341662a40ac6b22d3e38468
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
This page took 0.025157 seconds and 5 git commands to generate.