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)
commit08c14071fda4e69abb9d5b1566651cd092b158d3
tree99457d6c6d3bbf96ac62424e850f8af1dff6ebfd
parent66506f761772c87fd4ff31b94b298888d5d58d77
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