diff mbox series

[RFC,v1,3/3] HID: nvidia-shield: Remove space prefix from label in shield_haptics_create

Message ID 20230529222052.68913-4-rrameshbabu@nvidia.com
State New
Headers show
Series HID: nvidia-shield: More functionality on top of initial driver | expand

Commit Message

Rahul Rameshbabu May 29, 2023, 10:20 p.m. UTC
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@nvidia.com>
---

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@nvidia.com/

 drivers/hid/hid-nvidia-shield.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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);
 }