regulator: max77686: Initialise rmatch.of_node to NULL.
authorYadwinder Singh Brar <yadi.brar01@gmail.com>
Fri, 6 Jul 2012 09:20:08 +0000 (14:50 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Jul 2012 18:17:29 +0000 (19:17 +0100)
commitd1ef065d43476fd0e245cad2ef1d226e7cb6324b
tree227503d3d42dfa27ba1588b0715dff534ff3a1b3
parent19228a6a59250d414824ae07e06ad057a404ea3e
regulator: max77686: Initialise rmatch.of_node to NULL.

Now of_regulator_match() returns without finding the match if match->of_node
is not NULL.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max77686.c