diff options
author | Nishanth Menon <nm@ti.com> | 2016-05-05 19:29:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-06 18:15:18 +0100 |
commit | 7f091e53c9efc52b2b3a03a8a1d479a47956fecd (patch) | |
tree | 54827945addf98d7688d14e09ca1ddcd0762cba7 /drivers/spi/spi-dw-mmio.c | |
parent | 1b42443db670dde5e3cb4261f77b29010b163fc6 (diff) |
regulator: tps65917/palmas: Handle possible memory allocation failure
Stop the palmas regulator driver from imagining that the allocations
will always succeed. Since regulator dt nodes are optional in nature and
can be described in downstream drivers via platform data, continue to
maintain code flow as prior when of node is not found.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-mmio.c')
0 files changed, 0 insertions, 0 deletions