diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2014-11-06 15:19:04 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-11-26 14:30:51 +0100 |
commit | 4bb74313b3549f5c0c28c4652cae2cee1c2b9c95 (patch) | |
tree | 85b0359daa326667aef916bf06033c5a62bc91ed /include/linux | |
parent | 04834a78bd2b40dbd8396382210db8707aecf281 (diff) | |
download | op-kernel-dev-4bb74313b3549f5c0c28c4652cae2cee1c2b9c95.zip op-kernel-dev-4bb74313b3549f5c0c28c4652cae2cee1c2b9c95.tar.gz |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions