Skip to content

Commit

Permalink
lp8727_charger: Add terminating entry for i2c_device_id table
Browse files Browse the repository at this point in the history
The i2c_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
  • Loading branch information
Axel Lin authored and Anton Vorontsov committed Feb 1, 2012
1 parent 1bbe24d commit 455a0e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/power/lp8727_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ static int __devexit lp8727_remove(struct i2c_client *cl)

static const struct i2c_device_id lp8727_ids[] = {
{"lp8727", 0},
{ }
};

static struct i2c_driver lp8727_driver = {
Expand Down

0 comments on commit 455a0e2

Please sign in to comment.