From: Davide Ciminaghi Date: Tue, 16 Oct 2012 13:56:59 +0000 (+0200) Subject: regmap: make lock/unlock functions customizable X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~61^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d4529c534c1c664f25088eb5f5b4d7ce0ee2510;p=pandora-kernel.git regmap: make lock/unlock functions customizable It is sometimes convenient for a regmap user to override the standard regmap lock/unlock functions with custom functions. For instance this can be useful in case an already existing spinlock or mutex has to be used for locking a set of registers instead of the internal regmap spinlock/mutex. Note that the fast_io field of struct regmap_bus is ignored in case custom locking functions are used. Signed-off-by: Davide Ciminaghi Signed-off-by: Mark Brown --- Reading git-diff-tree failed