From: Mark Brown Date: Sat, 3 Dec 2011 17:06:20 +0000 (+0000) Subject: regmap: Allow drivers to reinitialise the register cache at runtime X-Git-Tag: v3.3-rc1~163^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf315173359b2f3b8b8ccca4264815e91f30be12;p=pandora-kernel.git regmap: Allow drivers to reinitialise the register cache at runtime Sometimes the register map information may change in ways that drivers can discover at runtime. For example, new revisions of a device may add new registers. Support runtime discovery by drivers by allowing the register cache to be reinitialised with a new function regmap_reinit_cache() which discards the existing cache and creates a new one. Signed-off-by: Mark Brown --- Reading git-diff-tree failed