Re: [PATCH] regulator: clear state each invocation of of_regulator_match

2013-01-29 Thread Mark Brown
On Tue, Jan 29, 2013 at 12:01:13PM -0700, Stephen Warren wrote: > From: Stephen Warren > > of_regulator_match() saves some dynamcially allocated state into the > match table that's passed to it. By implementation and not contract, for > each match table entry, if non-NULL state is already present

[PATCH] regulator: clear state each invocation of of_regulator_match

2013-01-29 Thread Stephen Warren
From: Stephen Warren of_regulator_match() saves some dynamcially allocated state into the match table that's passed to it. By implementation and not contract, for each match table entry, if non-NULL state is already present, of_regulator_match() will not overwrite it. of_regulator_match() is typi