HID: sony: Rename worker function
authorFrank Praznik <frank.praznik@oh.rr.com>
Sat, 11 Jan 2014 20:13:54 +0000 (15:13 -0500)
committerJiri Kosina <jkosina@suse.cz>
Thu, 16 Jan 2014 21:44:35 +0000 (22:44 +0100)
Rename sony_state_worker to sixaxis_state_worker since the function is now
sixaxis specific.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c

index 79e0d5808a9253ce5240c1eaa2f19576e83beb13..1dfed2365d4041f84bdbee1e515b7b54d087c018 100644 (file)
@@ -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);
This page took 0.025985 seconds and 5 git commands to generate.