]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: ensure termination of *_device_id tables
authorThomas Meyer <thomas@m3y3r.de>
Thu, 21 Sep 2017 06:24:27 +0000 (08:24 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 5 Oct 2017 12:44:57 +0000 (14:44 +0200)
commit22a70a3ce5b458870b38019a7ab5c17e0bb7a65f
tree9b282200601ce3eb7358686391c2f9fdb5461d09
parent9e12f1d877a9ba134cbaeae355ad85e1cf1e7b59
i2c: ensure termination of *_device_id tables

Make sure (of/i2c/platform)_device_id tables are NULL terminated.
Found by coccinelle spatch "misc/of_table.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sprd.c