aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Johan Hovold <johan+linaro@kernel.org> 2023-05-26 11:16:46 +0200
committerGravatar Lee Jones <lee@kernel.org> 2023-06-15 09:19:38 +0100
commit95100ed6ad4f0f74de2c4bb03618e57c896a7a89 (patch)
tree1ec458e33e0e2a2ed820bb7c480a07fa48524d5e
parentmfd: pm8008: Fix module autoloading (diff)
downloadlinux-95100ed6ad4f0f74de2c4bb03618e57c896a7a89.tar.gz
linux-95100ed6ad4f0f74de2c4bb03618e57c896a7a89.tar.bz2
linux-95100ed6ad4f0f74de2c4bb03618e57c896a7a89.zip
mfd: pm8008: Drop bogus i2c module alias
Prior to commit af503716ac14 ("i2c: core: report OF style module alias for devices registered via OF") drivers using OF matching needed an i2c module alias such as "i2c:pm8008" for module autoloading to work. Drop the bogus i2c alias from the pm8008 driver which was merged long after i2c core was fixed and whose alias did not match the driver name ("pm8008") to begin with. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230526091646.17318-3-johan+linaro@kernel.org
-rw-r--r--drivers/mfd/qcom-pm8008.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c
index 56157430deca..94a8cca1d955 100644
--- a/drivers/mfd/qcom-pm8008.c
+++ b/drivers/mfd/qcom-pm8008.c
@@ -211,4 +211,3 @@ static struct i2c_driver pm8008_mfd_driver = {
module_i2c_driver(pm8008_mfd_driver);
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("i2c:qcom-pm8008");