From: Davide Ciminaghi Date: Fri, 9 Nov 2012 14:19:58 +0000 (+0100) Subject: mfd: sta2x11-mfd: Use one lock per device instead of one lock per mfd X-Git-Tag: v3.8-rc1~85^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e885ba298098959d03c58d946c6fad8f8ed4a1c7;p=pandora-kernel.git mfd: sta2x11-mfd: Use one lock per device instead of one lock per mfd The lock is used to implement atomic operations on each platform device's registers, so it looks reasonable having one lock per device instead of one common lock for all the devices belonging to the same sta2x11 instance. Signed-off-by: Davide Ciminaghi Acked-by: Alessandro Rubini Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed