diff mbox series

HID: plantronics: Fix bare use of 'unsigned'

Message ID 20210830152711.991-1-aldas60@gmail.com (mailing list archive)
State Superseded
Delegated to: Jiri Kosina
Headers show
Series HID: plantronics: Fix bare use of 'unsigned' | expand

Commit Message

Aldas Taraškevičius Aug. 30, 2021, 3:27 p.m. UTC
Fix checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: Aldas Taraškevičius <aldas60@gmail.com>
---
 drivers/hid/hid-plantronics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/hid/hid-plantronics.c b/drivers/hid/hid-plantronics.c
index e81b7cec2d12..4aae7569e353 100644
--- a/drivers/hid/hid-plantronics.c
+++ b/drivers/hid/hid-plantronics.c
@@ -143,7 +143,7 @@  static int plantronics_event(struct hid_device *hdev, struct hid_field *field,
 
 static unsigned long plantronics_device_type(struct hid_device *hdev)
 {
-	unsigned i, col_page;
+	unsigned int i, col_page;
 	unsigned long plt_type = hdev->product;
 
 	/* multi-HID interfaces? - plt_type is PID */