diff options
author | Andres Salomon <dilinger@queued.net> | 2011-03-03 12:51:58 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:42:03 -0400 |
commit | f77289ac25b0c81acbed6f9c17cb14809a04e18b (patch) | |
tree | d8c8bf620f35d130b2f8f07334e7b62aa68238ce /drivers/mfd/mfd-core.c | |
parent | 7e5dc1f7004832f797999dfb3498a68a6c16ef73 (diff) |
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 'drivers/mfd/mfd-core.c')
-rw-r--r-- | drivers/mfd/mfd-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c index bb2264cc410b..79eda0264fb2 100644 --- a/drivers/mfd/mfd-core.c +++ b/drivers/mfd/mfd-core.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/pm_runtime.h> | 18 | #include <linux/pm_runtime.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
20 | 20 | ||
21 | int mfd_shared_cell_enable(struct platform_device *pdev) | 21 | int mfd_cell_enable(struct platform_device *pdev) |
22 | { | 22 | { |
23 | const struct mfd_cell *cell = mfd_get_cell(pdev); | 23 | const struct mfd_cell *cell = mfd_get_cell(pdev); |
24 | int err = 0; | 24 | int err = 0; |
@@ -33,9 +33,9 @@ int mfd_shared_cell_enable(struct platform_device *pdev) | |||
33 | 33 | ||
34 | return err; | 34 | return err; |
35 | } | 35 | } |
36 | EXPORT_SYMBOL(mfd_shared_cell_enable); | 36 | EXPORT_SYMBOL(mfd_cell_enable); |
37 | 37 | ||
38 | int mfd_shared_cell_disable(struct platform_device *pdev) | 38 | int mfd_cell_disable(struct platform_device *pdev) |
39 | { | 39 | { |
40 | const struct mfd_cell *cell = mfd_get_cell(pdev); | 40 | const struct mfd_cell *cell = mfd_get_cell(pdev); |
41 | int err = 0; | 41 | int err = 0; |
@@ -53,7 +53,7 @@ int mfd_shared_cell_disable(struct platform_device *pdev) | |||
53 | 53 | ||
54 | return err; | 54 | return err; |
55 | } | 55 | } |
56 | EXPORT_SYMBOL(mfd_shared_cell_disable); | 56 | EXPORT_SYMBOL(mfd_cell_disable); |
57 | 57 | ||
58 | static int mfd_add_device(struct device *parent, int id, | 58 | static int mfd_add_device(struct device *parent, int id, |
59 | const struct mfd_cell *cell, | 59 | const struct mfd_cell *cell, |