regulator: twl6030: use variable for device node
authorGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 25 Jul 2019 09:45:41 +0000 (11:45 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 9 Aug 2019 17:04:13 +0000 (18:04 +0100)
commit621d3ce830649d56ef1c9611e370d05ceaffd7fc
treedb056c90b1aefc0024233f128e36606994595d62
parent906c4d5c939b4d8ebe7be357121271df7b8c9582
regulator: twl6030: use variable for device node

Instead of refering the full pdev->dev.of_node use a local variable.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lore.kernel.org/r/20190725094542.16547-3-gregory.clement@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/twl6030-regulator.c