nds32: add NULL entry to the end of_device_id array
authorYueHaibing <yuehaibing@huawei.com>
Tue, 7 Aug 2018 04:03:13 +0000 (12:03 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 4 Sep 2018 06:45:15 +0000 (14:45 +0800)
commit1944a50859ec2b570b42b459ac25d607fc7c31f0
tree20324a6af58f95653d3eaff981a9389c232953b3
parent1dfdf99106668679b0de5a62fd4f42c1a11c9445
nds32: add NULL entry to the end of_device_id array

Make sure of_device_id tables are NULL terminated.
Found by coccinelle spatch "misc/of_table.cocci"

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/atl2c.c