Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: vt8500: Remove redundant use of of_match_ptr macro

'wmt_dt_ids' is always compiled in. Hence of_match_ptr is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Sachin Kamat and committed by
Greg Kroah-Hartman
86c346de 8095e4e8

+1 -1
+1 -1
drivers/tty/serial/vt8500_serial.c
··· 648 648 .driver = { 649 649 .name = "vt8500_serial", 650 650 .owner = THIS_MODULE, 651 - .of_match_table = of_match_ptr(wmt_dt_ids), 651 + .of_match_table = wmt_dt_ids, 652 652 }, 653 653 }; 654 654