serial: tegra: Use of_device_get_match_data
authorTang Bin <tangbin@cmss.chinamobile.com>
Sun, 22 Aug 2021 03:28:05 +0000 (11:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 12:51:10 +0000 (14:51 +0200)
commita6a65f9ee0937d02e8084ee1ed305e38aae848e6
treec1fc83e1540562ee2fffdaf2b6033b6d76becba8
parent618bf2b04bd6a903a9ebf0edb8d1700ba9a1a6da
serial: tegra: Use of_device_get_match_data

Retrieve OF match data, it's better and cleaner to use
'of_device_get_match_data' over 'of_match_device'.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210822032806.3256-3-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c