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, 14 Nov 2012 23:15:59 +0000 (00:15 +0100)
commitf351d027eea545a7996af54fce99f5668a67fec5
treee79628268b0c5dcaca14f7b0cb0620b3288ac761
parent77b67063bb6bce6d475e910d3b886a606d0d91f7
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