Skip to content

Commit d2b34fa

Browse files
kennylevinsenJiri Kosina
authored andcommitted
HID: i2c-hid: Remove unused label in i2c_hid_set_power
This label was left behind when the wake-up logic was moved from i2c_hid_set_power to i2c_hid_probe_address. Clean it up as it causes warnings-as-errors builds to fail. Fixes: bb1033c8a3ea ("HID: i2c-hid: Use address probe to wake on resume") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Kenny Levinsen <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 7d6f065 commit d2b34fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/hid/i2c-hid/i2c-hid-core.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,6 @@ static int i2c_hid_set_power(struct i2c_hid *ihid, int power_state)
413413
dev_err(&ihid->client->dev,
414414
"failed to change power setting.\n");
415415

416-
set_pwr_exit:
417-
418416
/*
419417
* The HID over I2C specification states that if a DEVICE needs time
420418
* after the PWR_ON request, it should utilise CLOCK stretching.

0 commit comments

Comments
 (0)