ARM: msm: trout: fix uninit var warning
authorJosh Cartwright <joshc@codeaurora.org>
Fri, 20 Dec 2013 19:09:14 +0000 (11:09 -0800)
committerOlof Johansson <olof@lixom.net>
Thu, 2 Jan 2014 18:16:56 +0000 (10:16 -0800)
commitc4b4ecbda50379b587ccff81663f3235582e5c66
treedaa41f4d6ad01d24c0f3a2c0406aba5db6779c5c
parent374b105797c3d4f29c685f3be535c35f5689b30e
ARM: msm: trout: fix uninit var warning

Fix the following warning when !CONFIG_MMC:

arch/arm/mach-msm/board-trout.c: In function 'trout_init':
arch/arm/mach-msm/board-trout.c:67:6: warning: unused variable 'rc' [-Wunused-variable]
  int rc;
      ^

Also, while we're here, rework explicit printk(KERN_CRIT..) to use
pr_crit.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-msm/board-trout.c