summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/olpc/olpc-xo1.c
diff options
context:
space:
mode:
authorAndres Salomon2011-03-03 18:51:58 +0100
committerSamuel Ortiz2011-03-23 10:42:03 +0100
commitf77289ac25b0c81acbed6f9c17cb14809a04e18b (patch)
treed8c8bf620f35d130b2f8f07334e7b62aa68238ce /arch/x86/platform/olpc/olpc-xo1.c
parentw1: Silence ds1wm warnings related to mfd_get_cell changes (diff)
downloadkernel-qcow2-linux-f77289ac25b0c81acbed6f9c17cb14809a04e18b.tar.gz
kernel-qcow2-linux-f77289ac25b0c81acbed6f9c17cb14809a04e18b.tar.xz
kernel-qcow2-linux-f77289ac25b0c81acbed6f9c17cb14809a04e18b.zip
mfd: Rename mfd_shared_cell_{en,dis}able to drop the "shared" part
As requested by Samuel, there's not really any reason to have "shared" in the name. This also modifies the only user of the function, as well. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch/x86/platform/olpc/olpc-xo1.c')
-rw-r--r--arch/x86/platform/olpc/olpc-xo1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/platform/olpc/olpc-xo1.c b/arch/x86/platform/olpc/olpc-xo1.c
index f4155354a7b0..99513642a0e6 100644
--- a/arch/x86/platform/olpc/olpc-xo1.c
+++ b/arch/x86/platform/olpc/olpc-xo1.c
@@ -63,7 +63,7 @@ static int __devinit olpc_xo1_probe(struct platform_device *pdev)
if (!machine_is_olpc())
return -ENODEV;
- err = mfd_shared_cell_enable(pdev);
+ err = mfd_cell_enable(pdev);
if (err)
return err;
@@ -88,7 +88,7 @@ static int __devinit olpc_xo1_probe(struct platform_device *pdev)
static int __devexit olpc_xo1_remove(struct platform_device *pdev)
{
- mfd_shared_cell_disable(pdev);
+ mfd_cell_disable(pdev);
if (strcmp(pdev->name, "olpc-xo1-pms") == 0)
pms_base = 0;