regulator: Update code examples in documentation
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sun, 19 Nov 2017 05:09:07 +0000 (06:09 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2017 10:41:16 +0000 (10:41 +0000)
commit983ba99a8f275aae9614a30469d0f480550fbc24
tree9a080369eeefe80337e8a1f7b14e0f25ff629a96
parent2befc01bf7358ab635ca362f3f5ba37d99ef31c4
regulator: Update code examples in documentation

This involves using the REGULATOR_SUPPLY initializer macro and
reindenting some of the code.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/power/regulator/machine.txt