summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2016-05-06 03:29:51 +0300
committerMark Brown <broonie@kernel.org>2016-05-06 20:15:18 +0300
commit7f091e53c9efc52b2b3a03a8a1d479a47956fecd (patch)
tree54827945addf98d7688d14e09ca1ddcd0762cba7 /security
parent1b42443db670dde5e3cb4261f77b29010b163fc6 (diff)
downloadlinux-7f091e53c9efc52b2b3a03a8a1d479a47956fecd.tar.xz
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 'security')
0 files changed, 0 insertions, 0 deletions