From: Anton Vorontsov Date: Tue, 22 Sep 2009 23:45:08 +0000 (-0700) Subject: sdhci: be more strict with get_min_clock() usage X-Git-Tag: v2.6.32-rc1~335 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9510176ff728135383f0cdfc9c90cfe57f9e162;p=pandora-kernel.git sdhci: be more strict with get_min_clock() usage get_min_clock() makes sense only with NONSTANDARD_CLOCK quirk and when set_clock() callback is specified. The patch should cause no functional changes, it just makes the code self-documented and avoids any possible misuse of get_min_clock(). Suggested-by: Pierre Ossman Signed-off-by: Anton Vorontsov Cc: Ian Molton Cc: Matt Fleming Cc: Philip Langdale Cc: Pierre Ossman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed