Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c03bfabb authored by Axel Lin's avatar Axel Lin Committed by Anton Vorontsov
Browse files

max8997_charger&max8998_charger: Fix unterminated platform_device_id tables



The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 815efa1e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ static int __devexit max8997_battery_remove(struct platform_device *pdev)

static const struct platform_device_id max8997_battery_id[] = {
	{ "max8997-battery", 0 },
	{ }
};

static struct platform_driver max8997_battery_driver = {
+1 −0
Original line number Diff line number Diff line
@@ -189,6 +189,7 @@ static int __devexit max8998_battery_remove(struct platform_device *pdev)

static const struct platform_device_id max8998_battery_id[] = {
	{ "max8998-battery", TYPE_MAX8998 },
	{ }
};

static struct platform_driver max8998_battery_driver = {