Merge remote-tracking branches 'regulator/topic/core', 'regulator/topic/regmap' and...
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / anatop-regulator.c
index 8675c91ed21aa2ba0e66090ef2db1981a129c865..49b2112b0486120c5434f7e2295955202538387f 100644 (file)
@@ -219,7 +219,7 @@ static struct of_device_id __devinitdata of_anatop_regulator_match_tbl[] = {
        { /* end */ }
 };
 
-static struct platform_driver anatop_regulator = {
+static struct platform_driver anatop_regulator_driver = {
        .driver = {
                .name   = "anatop_regulator",
                .owner  = THIS_MODULE,
@@ -231,13 +231,13 @@ static struct platform_driver anatop_regulator = {
 
 static int __init anatop_regulator_init(void)
 {
-       return platform_driver_register(&anatop_regulator);
+       return platform_driver_register(&anatop_regulator_driver);
 }
 postcore_initcall(anatop_regulator_init);
 
 static void __exit anatop_regulator_exit(void)
 {
-       platform_driver_unregister(&anatop_regulator);
+       platform_driver_unregister(&anatop_regulator_driver);
 }
 module_exit(anatop_regulator_exit);