]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: rename mmc_host_clk_{ungate|gate} to mmc_host_clk_{hold|release}
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Aug 2011 12:23:47 +0000 (15:23 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 31 Aug 2011 20:24:54 +0000 (16:24 -0400)
commit3b3c7551f4e333d9075fa0f59e2d437b177a6515
tree99457d6c6d3bbf96ac62424e850f8af1dff6ebfd
parent38b9e87031c66a0a114d27b04bed6e263f565ed2
mmc: rename mmc_host_clk_{ungate|gate} to mmc_host_clk_{hold|release}

As per suggestion by Linus Walleij:

  > If you think the names of the functions are confusing then
  > you may rename them, say like this:
  >
  > mmc_host_clk_ungate() -> mmc_host_clk_hold()
  > mmc_host_clk_gate() -> mmc_host_clk_release()
  >
  > Which would make the usecases more clear

(This is CC'd to stable@ because the next two patches, which fix
observable races, depend on it.)

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/host.c
drivers/mmc/core/host.h