regulator: tps65218: Add NULL test for devm_kzalloc call
authorAxel Lin <axel.lin@ingics.com>
Mon, 13 Nov 2017 12:52:32 +0000 (20:52 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 16 Nov 2017 11:59:09 +0000 (11:59 +0000)
commit5597bfb474d3ed84c1e0c73db620a257bbe127b6
tree34d1d145088ede9d7be331c4a53d9af6b876a39e
parent54f0a51a73acba08f047881c397e4040a573339b
regulator: tps65218: Add NULL test for devm_kzalloc call

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65218-regulator.c