]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI / EC: Cleanup the member name for spinlock/mutex in struct
authorFeng Tang <feng.tang@intel.com>
Mon, 22 Oct 2012 23:29:27 +0000 (01:29 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Oct 2012 20:05:31 +0000 (21:05 +0100)
commit0555c29c5e521c29ce0e50d453ab6a4a05e934a9
treecafa401951f137db0ce860bdc3f871ae91a52bfb
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
ACPI / EC: Cleanup the member name for spinlock/mutex in struct

Current member names for mutex/spinlock are a little confusing.

Change the
{
struct mutex lock;
spinlock_t curr_lock;
}
to
{
struct mutex mutex;
spinlock_t lock;
}

So that the code is cleaner and easier to read.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c
drivers/acpi/internal.h