serial: vt8500: Use of_device_get_match_data
authorTang Bin <tangbin@cmss.chinamobile.com>
Sun, 22 Aug 2021 03:28:06 +0000 (11:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 12:51:10 +0000 (14:51 +0200)
commit74d2fb7e708433b7397d9647ea7ec1cbcb0ae379
treef459790cb6991c2c84b08d521c76a7f5cd9e382e
parenta6a65f9ee0937d02e8084ee1ed305e38aae848e6
serial: vt8500: 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-4-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/vt8500_serial.c