commit | e885ba298098959d03c58d946c6fad8f8ed4a1c7 | [log] [tgz] |
---|---|---|
author | Davide Ciminaghi <ciminaghi@gnudd.com> | Fri Nov 09 15:19:58 2012 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Nov 20 12:21:16 2012 +0100 |
tree | 41575ff8bec817be217c803effc7ec0e0fc93d01 | |
parent | 3ce26d2f4b08252edd3ee38a0a6e30a76da9a9fa [diff] |
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 <ciminaghi@gnudd.com> Acked-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>