commit | 07ec4e716f65462d214e04b48c58d23cb3944982 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Fri May 23 13:24:46 2014 -0600 |
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | Thu Jun 12 15:21:12 2014 +0300 |
tree | a6828c04d1d7bd7715d47ac4fac822863ad21e93 | |
parent | b627f4bebfe1cf1dc768073ce131e254bea39189 [diff] |
cmd_mmc: Use init_mmc_device() from do_mmc_rescan() The body of init_mmc_device() is now identical to that of do_mmc_rescan() except for the error codes returned. Modify do_mmc_rescan() to simply call init_mmc_device() and convert the error codes, to avoid code duplication. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>