mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
authorZou Wei <zou_wei@huawei.com>
Wed, 12 May 2021 06:33:46 +0000 (14:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:17:49 +0000 (16:17 +0200)
commitb5d7c7be789b5926d33735c255dd94ff310df6f7
treee38a9c930eb0183aa4e8ad955420a78330124ac8
parentf83bd690f60bebd648bd9bfcea0891fbadacec86
mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE

[ Upstream commit 4700ef326556ed74aba188f12396740a8c1c21dd ]

This patch adds/modifies MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/da9052-i2c.c
drivers/mfd/stmpe-i2c.c