aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-06-20 19:10:34 +0200
committerChris Ball <cjb@laptop.org>2012-07-21 00:02:11 -0400
commit71da63e767c393c0ebbd3c65df428df0ce42a16c (patch)
tree5c6ce3cc09ae36c3f5f8e33c6de75ea8673ad009 /drivers/md
parentb958a67c6bbe0a886bebc618aac7a059cdbab418 (diff)
downloadkernel_goldelico_gta04-71da63e767c393c0ebbd3c65df428df0ce42a16c.zip
kernel_goldelico_gta04-71da63e767c393c0ebbd3c65df428df0ce42a16c.tar.gz
kernel_goldelico_gta04-71da63e767c393c0ebbd3c65df428df0ce42a16c.tar.bz2
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 <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions