From: Frank Praznik Date: Sat, 11 Jan 2014 20:13:54 +0000 (-0500) Subject: HID: sony: Rename worker function X-Git-Tag: firefly_0821_release~176^2~4605^2^4~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cad665a2a937d070e5909beec37f891a95911bef;p=firefly-linux-kernel-4.4.55.git HID: sony: Rename worker function Rename sony_state_worker to sixaxis_state_worker since the function is now sixaxis specific. Signed-off-by: Frank Praznik Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 79e0d5808a92..1dfed2365d40 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -632,7 +632,7 @@ error_leds: return ret; } -static void sony_state_worker(struct work_struct *work) +static void sixaxis_state_worker(struct work_struct *work) { struct sony_sc *sc = container_of(work, struct sony_sc, state_worker); unsigned char buf[] = { @@ -771,7 +771,7 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id) if (sc->quirks & SIXAXIS_CONTROLLER_USB) { hdev->hid_output_raw_report = sixaxis_usb_output_raw_report; ret = sixaxis_set_operational_usb(hdev); - INIT_WORK(&sc->state_worker, sony_state_worker); + INIT_WORK(&sc->state_worker, sixaxis_state_worker); } else if (sc->quirks & SIXAXIS_CONTROLLER_BT) ret = sixaxis_set_operational_bt(hdev);