]> 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>
Mon, 22 Oct 2012 23:29:27 +0000 (01:29 +0200)
commitc6f4c562ddd715df8e786e897284e8c3ec3f4faa
tree6e587cf4c36da6af13d813705f13aa01cee93369
parent6f0c0580b70c89094b3422ba81118c7b959c7556
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