summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max77693.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2016-05-06 02:29:51 +0200
committerMark Brown <broonie@kernel.org>2016-05-06 19:15:18 +0200
commit7f091e53c9efc52b2b3a03a8a1d479a47956fecd (patch)
tree54827945addf98d7688d14e09ca1ddcd0762cba7 /drivers/regulator/max77693.c
parentregulator: tps65917/palmas: Simplify multiple dereference of pdata->reg_init[... (diff)
downloadlinux-7f091e53c9efc52b2b3a03a8a1d479a47956fecd.tar.xz
linux-7f091e53c9efc52b2b3a03a8a1d479a47956fecd.zip
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/regulator/max77693.c')
0 files changed, 0 insertions, 0 deletions