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>
This commit is contained in:
Andres Salomon
2011-03-03 09:51:58 -08:00
committed by Samuel Ortiz
parent 7e5dc1f700
commit f77289ac25
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -18,7 +18,7 @@
#include <linux/pm_runtime.h>
#include <linux/slab.h>
int mfd_shared_cell_enable(struct platform_device *pdev)
int mfd_cell_enable(struct platform_device *pdev)
{
const struct mfd_cell *cell = mfd_get_cell(pdev);
int err = 0;
@@ -33,9 +33,9 @@ int mfd_shared_cell_enable(struct platform_device *pdev)
return err;
}
EXPORT_SYMBOL(mfd_shared_cell_enable);
EXPORT_SYMBOL(mfd_cell_enable);
int mfd_shared_cell_disable(struct platform_device *pdev)
int mfd_cell_disable(struct platform_device *pdev)
{
const struct mfd_cell *cell = mfd_get_cell(pdev);
int err = 0;
@@ -53,7 +53,7 @@ int mfd_shared_cell_disable(struct platform_device *pdev)
return err;
}
EXPORT_SYMBOL(mfd_shared_cell_disable);
EXPORT_SYMBOL(mfd_cell_disable);
static int mfd_add_device(struct device *parent, int id,
const struct mfd_cell *cell,