serial: sh-sci: use of_property_read_bool()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 13 Aug 2017 19:11:24 +0000 (22:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:20 +0000 (20:51 +0200)
commit43c61286839761a5275c889364fc2588a756f197
tree035fa052c41c556efa55a7f0fc845d2003c99feb
parentee1c90cc2cea80638f559c552371ee6893ca9d9e
serial: sh-sci: use of_property_read_bool()

Use more compact of_property_read_bool() call for a boolean property
instead  of of_find_property() call in sci_parse_dt().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c