Messages in this thread | | | From | Ley Foon Tan <> | Date | Fri, 26 Aug 2016 11:13:48 +0800 | Subject | Re: [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(-) >
| |