mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
mmc: core: Convert mmc_regulator_get_ocrmask() to static
The only left user of mmc_regulator_get_ocrmask() is the mmc core itself. Therefore, let's drop the export and turn it into static. Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
de13d5a44e
commit
3958790e67
2 changed files with 1 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ static int mmc_ocrbitnum_to_vdd(int vdd_bit, int *min_uV, int *max_uV)
|
|||
* regulator. This would normally be called before registering the
|
||||
* MMC host adapter.
|
||||
*/
|
||||
int mmc_regulator_get_ocrmask(struct regulator *supply)
|
||||
static int mmc_regulator_get_ocrmask(struct regulator *supply)
|
||||
{
|
||||
int result = 0;
|
||||
int count;
|
||||
|
|
@ -90,7 +90,6 @@ int mmc_regulator_get_ocrmask(struct regulator *supply)
|
|||
|
||||
return result;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mmc_regulator_get_ocrmask);
|
||||
|
||||
/**
|
||||
* mmc_regulator_set_ocr - set regulator to match host->ios voltage
|
||||
|
|
|
|||
Loading…
Reference in a new issue