diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-12-08 14:36:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-29 13:45:00 +0100 |
commit | 43661d9a777126ff6e617c25d7b989007aa370ae (patch) | |
tree | bab6af1484f2b1171ed54db66c41d97b5a2b57b1 /drivers/extcon | |
parent | 937c57ead3c2a5d45f1a2080dd000a79f7fb8f74 (diff) | |
download | linux-stable-43661d9a777126ff6e617c25d7b989007aa370ae.tar.gz linux-stable-43661d9a777126ff6e617c25d7b989007aa370ae.tar.bz2 linux-stable-43661d9a777126ff6e617c25d7b989007aa370ae.zip |
extcon: max77693: Fix modalias string
[ Upstream commit e1efdb604f5c9903a5d92ef42244009d3c04880f ]
The platform device driver name is "max77693-muic", so advertise it
properly in the modalias string. This fixes automated module loading when
this driver is compiled as a module.
Fixes: db1b9037424b ("extcon: MAX77693: Add extcon-max77693 driver to support Maxim MAX77693 MUIC device")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 68dbcb814b2f..4cf72487381e 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c @@ -1272,4 +1272,4 @@ module_platform_driver(max77693_muic_driver); MODULE_DESCRIPTION("Maxim MAX77693 Extcon driver"); MODULE_AUTHOR("Chanwoo Choi <cw00.choi@samsung.com>"); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:extcon-max77693"); +MODULE_ALIAS("platform:max77693-muic"); |