diff options
author | Feng Tang <feng.tang@intel.com> | 2012-10-23 01:29:27 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:15:59 +0100 |
commit | f351d027eea545a7996af54fce99f5668a67fec5 (patch) | |
tree | e79628268b0c5dcaca14f7b0cb0620b3288ac761 /drivers/acpi/internal.h | |
parent | Linux 3.7-rc5 (diff) | |
download | linux-f351d027eea545a7996af54fce99f5668a67fec5.tar.xz linux-f351d027eea545a7996af54fce99f5668a67fec5.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/acpi/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index ca75b9ce0489..509dcaa17555 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h @@ -58,11 +58,11 @@ struct acpi_ec { unsigned long data_addr; unsigned long global_lock; unsigned long flags; - struct mutex lock; + struct mutex mutex; wait_queue_head_t wait; struct list_head list; struct transaction *curr; - spinlock_t curr_lock; + spinlock_t lock; }; extern struct acpi_ec *first_ec; |