OSDN Git Service

staging: ks7010: rename wakeup work struct
authorTobin C. Harding <me@tobin.cc>
Tue, 18 Apr 2017 00:35:33 +0000 (10:35 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:33:17 +0000 (13:33 +0200)
commit07e483c14bd5d149b1c214562654798a5be104b0
tree35b3f5b52046190ac8f49d3429a8557c5c84d146
parentb9ca8bb4e4c1dbe2f064f1ffe1cb771538d2a5ff
staging: ks7010: rename wakeup work struct

struct work_struct uses identifier ks_wlan_wakeup_task, this is
confusing because the 'task' suffix implies that this is a
tasklet_struct instead of a work struct. Suffix 'work' would be more
clear. The code would be easier to read if it followed the principle
of least surprise and used the 'work' suffix for a work_struct
identifier.

Rename work_struct structure 'ks_wlan_wakeup_task' to 'wakeup_work'.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_wlan.h