mfd: pcf50633: Correct device name for pcf50633 regulator
Change the device name of the regulator function to the one chosen for MODULE_ALIAS. This fixes kernel auto-module loading for the regulator function. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
@@ -105,7 +105,7 @@ static int pcf50633_regulator_probe(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver pcf50633_regulator_driver = {
|
||||
.driver = {
|
||||
.name = "pcf50633-regltr",
|
||||
.name = "pcf50633-regulator",
|
||||
},
|
||||
.probe = pcf50633_regulator_probe,
|
||||
};
|
||||
|
Reference in New Issue
Block a user