serial: 8250_ingenic: Use of_device_get_match_data
authorTang Bin <tangbin@cmss.chinamobile.com>
Sun, 22 Aug 2021 03:28:04 +0000 (11:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 12:51:10 +0000 (14:51 +0200)
commit618bf2b04bd6a903a9ebf0edb8d1700ba9a1a6da
tree390f2e088110fc55e369467e9eeaf1ed3197f81b
parentfa934fc1a8679f0704dddaefb6946c3da26c58a5
serial: 8250_ingenic: 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'.

Acked-by: Paul Cercueil <paul@crapouillou.net>
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-2-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_ingenic.c