lkml.org 
[lkml]   [2016]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [Nios2-dev] [PATCH] nios2: use of_property_read_bool
On Wed, Aug 10, 2016 at 8:27 PM, Tobias Klauser <tklauser@distanz.ch> 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@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>

Thanks.

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

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.064 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site