Messages in this thread | | | From | Timur Tabi <> | Date | Fri, 31 Mar 2023 22:30:50 -0500 | Subject | Re: [PATCH] serial: Use of_property_read_bool() for boolean properties |
| |
On Fri, Mar 10, 2023 at 8:48 AM Rob Herring <robh@kernel.org> wrote: > > It is preferred to use typed property access functions (i.e. > of_property_read_<type> functions) rather than low-level > of_get_property/of_find_property functions for reading properties. > Convert reading boolean properties to to of_property_read_bool(). > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > drivers/tty/serial/imx.c | 14 +++++--------- > drivers/tty/serial/mxs-auart.c | 4 ++-- > drivers/tty/serial/ucc_uart.c | 2 +-
ucc_uart.c portion:
Acked-by: Timur Tabi <timur@kernel.org>
| |