x86/platform/intel-mid: Mark regulators explicitly defined
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 9 Jul 2016 13:45:29 +0000 (16:45 +0300)
committerIngo Molnar <mingo@kernel.org>
Sun, 10 Jul 2016 08:33:41 +0000 (10:33 +0200)
commita11836fa5a67ba56d8338138e37b42384af73e5e
tree60e017b812029d58e8f10c70f00f0ba7dc661f7e
parent62d855d3e725f4e4b0d2786f7cad3f0660a03a59
x86/platform/intel-mid: Mark regulators explicitly defined

Intel MID platforms are using explicitly defined regulators.

Let the regulator core know that we do not have any additional
regulators left. This lets it substitute unprovided regulators with
dummy ones.

Without this change when CONFIG_REGULATOR=y the USB driver fails on getting
"vbus" regulator and SDHCI can't get "vmmc" and "vqmmc" regulators either.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1468071929-77383-1-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/intel-mid/intel-mid.c