mmc: sdhci: fix "pwr may be used uninitialized" warning
commit8364248a829d50495a796e7561aaf9a6976f846c
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>
Tue, 28 Sep 2010 08:41:28 +0000 (28 10:41 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:17 +0000 (23 21:11 +0800)
treee57cda5fc1109dc0ac609fa74fa4a0d7a89bf248
parentbe8ae09d9a800a40771c93356216678aff9ca577
mmc: sdhci: fix "pwr may be used uninitialized" warning

This patch fixes a warning when compiling the sdhci driver:
  pwr may be used uninitialized in sdhci_set_power

Tested with the following compiler versions: 4.2.4 and 4.4.4

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c