summaryrefslogtreecommitdiff
path: root/net/rfkill/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rfkill/input.c')
-rw-r--r--net/rfkill/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rfkill/input.c b/net/rfkill/input.c
index 598d0a61bda7..f7cb24ce7754 100644
--- a/net/rfkill/input.c
+++ b/net/rfkill/input.c
@@ -159,7 +159,7 @@ static void rfkill_schedule_global_op(enum rfkill_sched_op op)
rfkill_op_pending = true;
if (op == RFKILL_GLOBAL_OP_EPO && !rfkill_is_epo_lock_active()) {
/* bypass the limiter for EPO */
- mod_delayed_work(system_wq, &rfkill_op_work, 0);
+ mod_delayed_work(system_percpu_wq, &rfkill_op_work, 0);
rfkill_last_scheduled = jiffies;
} else
rfkill_schedule_ratelimited();
@@ -221,7 +221,7 @@ static int rfkill_connect(struct input_handler *handler, struct input_dev *dev,
struct input_handle *handle;
int error;
- handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL);
+ handle = kzalloc_obj(struct input_handle);
if (!handle)
return -ENOMEM;