mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading
authorHans de Goede <hdegoede@redhat.com>
Wed, 5 Oct 2016 15:51:12 +0000 (17:51 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:25 +0000 (08:21 +0000)
commit41751b033aaa9eb996f43496d1e8295cfd7dbcb0
treec43becafc20494a8e7323d41d5675b6a3ab7c79b
parent8e52b61cc8ead97ebe9de63a7ab1e70039a48129
mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading

The i2c subsys does not load modules by compatible, only by
i2c-id, with e.g. a modalias of: "i2c:axp209".

Populate the axp20x_i2c_id[] table with supported ids, so that
module auto-loading will work.

Reported-by: Dennis Gilmore <dennis@ausil.us>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/axp20x-i2c.c