regmap: Allow multiple patches to be registered
authorMark Brown <broonie@linaro.org>
Thu, 11 Jul 2013 11:41:44 +0000 (12:41 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 16 Aug 2013 19:33:05 +0000 (20:33 +0100)
commitaab13ebca2c67c3b8f004a013a36f661a3950b00
tree0cf9fbb727f4791252d883c1decc63f443bc91e1
parentad81f0545ef01ea651886dddac4bef6cec930092
regmap: Allow multiple patches to be registered

It may be useful to register multiple patches with regmap, for example
one that depends on the device revision and one that depends on the system
configuration. Add support for doing this, appending any new patches to
the existing patches.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c