]> asedeno.scripts.mit.edu Git - linux.git/commit
regulator: core: Link consumer with regulator driver
authorpascal paillet <p.paillet@st.com>
Thu, 5 Jul 2018 14:25:56 +0000 (14:25 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Jul 2018 17:55:20 +0000 (18:55 +0100)
commited1ae2dd9f242c7a36e8e39100f6a7f6bcdfdd89
tree9410814bd9ef17ccd80eaf12b3eed19cb300c81d
parentd8842211b6f63d3f069df973d137de0a85964965
regulator: core: Link consumer with regulator driver

Add a device link between the consumer and the driver so that
the consumer is not suspended before the driver. The goal is to avoid
implementing suspend_late ops in regulator drivers.

Signed-off-by: pascal paillet <p.paillet@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c