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)
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>

No differences found