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

From: Ley Foon Tan
Date: Thu Aug 25 2016 - 23:13:55 EST


On Wed, Aug 10, 2016 at 8:27 PM, Tobias Klauser <tklauser@xxxxxxxxxx> 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 <tklauser@xxxxxxxxxx>
Acked-by: Ley Foon Tan <lftan@xxxxxxxxxx>

Thanks.

> ---
> arch/nios2/include/asm/cpuinfo.h | 8 ++++----
> arch/nios2/kernel/cpuinfo.c | 15 +++++----------
> 2 files changed, 9 insertions(+), 14 deletions(-)
>