]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: remove redundant .down_pwr() callback
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 20 Apr 2012 07:01:05 +0000 (09:01 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:14 +0000 (00:02 -0400)
commit7094338224551672e2415eb57c61f474dcafe15d
treed4e6e2d11fbdaeb04e3728a9822e870fff7eb688
parent1dea34fafbb05ed26b30e361820c8d0c3127dc27
mmc: sh_mmcif: remove redundant .down_pwr() callback

From the original version of sh_mmcif the .set_pwr() callback has only been
used to turn the card's power on, and the .down_pwr() callback has been
used to turn it off. .set_pwr() can be used for both these tasks, which is
also how it is implemented by the only user of this API: the SH7724 ecovec
board.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c