mmc: sh_mmci: Get rid of wrapper function for regulators
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 11 Feb 2016 12:59:55 +0000 (13:59 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:09 +0000 (10:33 +0200)
commit33a31ceaf064cd62bf08e437b5849684da2ffe71
treea4052204f213e2f55a5d7089c9fcce5cc9f445f6
parent4caf653a55210dfc1c024d88e5148148f64802ad
mmc: sh_mmci: Get rid of wrapper function for regulators

As there are two callers of sh_mmcif_set_power() and because its only
additional action is to check for a valid regulator, let's just remove it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c