mmc: sdhci: Fix vqmmc error setting
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 6 Nov 2014 13:19:04 +0000 (15:19 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Nov 2014 13:30:51 +0000 (14:30 +0100)
commit4bb74313b3549f5c0c28c4652cae2cee1c2b9c95
tree85b0359daa326667aef916bf06033c5a62bc91ed
parent04834a78bd2b40dbd8396382210db8707aecf281
mmc: sdhci: Fix vqmmc error setting

supply.vqmmc is used with the IS_ERR macro which means
the value must be valid or an error code.  NULL is
neither, so replace with ERR_PTR(-EINVAL).

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c