]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: core: 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>
Mon, 22 Aug 2011 21:57:29 +0000 (17:57 -0400)
commit6b1baf2051c23b4c82af929dcab1f138c5455d90
treebafb72553a96dd8f8d2c2e6e3fb03fe8e10a140a
parentbba3375a0e5467ddad1d10c3d1ee49ea1b15626d
mmc: core: 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