UPSTREAM: regulator: Make bulk API support optional supplies
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Tue, 10 Nov 2015 06:20:37 +0000 (22:20 -0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
commitd77dfd77eac24652ad4e42ecee533a25f6e05837
tree321540856fe16ec920ec8d356779e99e29ac7eba
parentfb88e18a5260f4fe5cd3bcf40a4fc8ec42a2cb87
UPSTREAM: regulator: Make bulk API support optional supplies

Make it possible to use the bulk API with optional supplies, by allowing
the consumer to marking supplies as optional in the regulator_bulk_data.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 3ff3f518a135fa4592fe2817e9ac2cce1fa23dc2)

Change-Id: I1bf21d36ca181932bf7c626d45fef49b50931ac9
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/regulator/core.c
drivers/regulator/devres.c
include/linux/regulator/consumer.h