mfd: 88pm80x: Fix driver name for 88pm800 and 88pm805
authorChao Xie <chao.xie@marvell.com>
Fri, 14 Jun 2013 05:21:46 +0000 (01:21 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 17 Jun 2013 23:05:52 +0000 (01:05 +0200)
88pm800 and 88pm805 shouldnot have the same driver name.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm800.c
drivers/mfd/88pm805.c

index b2f9f0f9deb3d341e5b93e468a6ddccb9bc0bc79..080104988d5e39c563bf83f6db4f6cf9e595c167 100644 (file)
@@ -569,7 +569,7 @@ static int pm800_remove(struct i2c_client *client)
 
 static struct i2c_driver pm800_driver = {
        .driver = {
-               .name = "88PM80X",
+               .name = "88PM800",
                .owner = THIS_MODULE,
                .pm = &pm80x_pm_ops,
                },
index 65d7ac099b2065d1945b936d634d2416a78f26cd..d32b54464e8527c5e91e7da4eea254f4f59c8722 100644 (file)
@@ -276,7 +276,7 @@ static int pm805_remove(struct i2c_client *client)
 
 static struct i2c_driver pm805_driver = {
        .driver = {
-               .name = "88PM80X",
+               .name = "88PM805",
                .owner = THIS_MODULE,
                .pm = &pm80x_pm_ops,
                },