From: Guennadi Liakhovetski Date: Wed, 20 Jun 2012 17:10:34 +0000 (+0200) Subject: mmc: sdhi: do not install dummy callbacks X-Git-Tag: v3.6-rc1~153^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71da63e767c393c0ebbd3c65df428df0ce42a16c;p=pandora-kernel.git mmc: sdhi: do not install dummy callbacks Currently the SDHI glue for the TMIO MMC driver installs dummy .get_cd() and .set_pwr() callbacks even if the platform didn't supply them. This is not necessary, since the TMIO MMC driver itself checks for NULL callbacks. This is also dubious if the platform provides a regulator for SD-card power switching. It is better to only install those callbacks, if they are really provided by the platform. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Chris Ball --- Reading git-diff-tree failed