Re: [Nios2-dev] [PATCH] nios2: use of_property_read_bool

2016-08-25 Thread Ley Foon Tan
On Wed, Aug 10, 2016 at 8:27 PM, Tobias Klauser wrote: > 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 Acked-by: Ley Foon Tan Than

[PATCH] nios2: use of_property_read_bool

2016-08-10 Thread Tobias Klauser
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 --- arch/nios2/include/asm/cpuinfo.h | 8 arch/nios2/kernel/cpuinfo.c | 15 +++