mfd: tps80031: Add terminating entry for tps80031_id_table
authorAxel Lin <axel.lin@ingics.com>
Wed, 5 Dec 2012 12:59:00 +0000 (20:59 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 9 Dec 2012 14:15:24 +0000 (15:15 +0100)
The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps80031.c

index f64005e..10b51f7 100644 (file)
@@ -543,6 +543,7 @@ static int __devexit tps80031_remove(struct i2c_client *client)
 static const struct i2c_device_id tps80031_id_table[] = {
        { "tps80031", TPS80031 },
        { "tps80032", TPS80032 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tps80031_id_table);