Accidentally had a whitespace character in front of a label used for error handling in the shield_haptics_create function. Signed-off-by: Rahul Rameshbabu <rrameshbabu@xxxxxxxxxx> --- Notes: This patch really should be updated in the initial patch that introduces the nvidia-shield HID driver. Using a separate patch to just illustrate this is a cosmetic change if needing to resubmit the original patch for nvidia-shield. Link: https://lore.kernel.org/linux-input/20230418203747.24000-1-rrameshbabu@xxxxxxxxxx/ drivers/hid/hid-nvidia-shield.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-nvidia-shield.c b/drivers/hid/hid-nvidia-shield.c index 7dfaec1c07e2..85700cec5eac 100644 --- a/drivers/hid/hid-nvidia-shield.c +++ b/drivers/hid/hid-nvidia-shield.c @@ -202,7 +202,7 @@ static struct input_dev *shield_haptics_create( return haptics; - err: +err: input_free_device(haptics); return ERR_PTR(ret); } -- 2.38.4