serial: sifive: Remove redundant of_match_ptr()
authorRuan Jinjie <ruanjinjie@huawei.com>
Wed, 9 Aug 2023 08:55:41 +0000 (16:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Aug 2023 12:15:25 +0000 (14:15 +0200)
commit0aaf78182b721991a594ad8f8fe96d806e75db5a
treedf2f9c73a163fa04261d9bc48e98f0e52cbc91c8
parent593135f09368dbddc0244b859a7c3befb97214e0
serial: sifive: Remove redundant of_match_ptr()

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230809085541.2969654-1-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sifive.c