power: supply: ds2760_battery: add devicetree probing
authorDaniel Mack <daniel@zonque.org>
Fri, 6 Jul 2018 05:35:52 +0000 (07:35 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 11 Jul 2018 16:09:09 +0000 (18:09 +0200)
commitefdafd6895b2c454f1791de32248725879ded090
treeebe2a973730eecb03ea0335f69c3a15825906f86
parentbf49735537374c02fd4111bd5463e372f69c41f8
power: supply: ds2760_battery: add devicetree probing

Add a matching table for devicetree probing, and optionally set the module
parameter variables from DT properties.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/ds2760_battery.c