serial: sc16is7xx: use device_property APIs when configuring irda mode
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 27 Sep 2023 16:01:52 +0000 (12:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2023 12:59:08 +0000 (14:59 +0200)
commit1a0a2a1e57aa8dcdae25229f6e95cf6bd4817faf
tree4c28ee2aa9fa189c704862570bbce516bdcaafb7
parent6905ab83b7b429bfe856536982ae00c1f594ba1f
serial: sc16is7xx: use device_property APIs when configuring irda mode

Convert driver to be property provider agnostic and allow it to be
used on non-OF platforms.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20230927160153.2717788-2-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c