[PATCH] samples: uhid: Fix errors in uhid-example.c

shijie001@208suo.com posted 1 patch 2 years, 1 month ago
samples/uhid/uhid-example.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] samples: uhid: Fix errors in uhid-example.c
Posted by shijie001@208suo.com 2 years, 1 month ago
The following checkpatch error is removed:
ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: Jie Shi <shijie001@208suo.com>
---
  samples/uhid/uhid-example.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/uhid/uhid-example.c b/samples/uhid/uhid-example.c
index 015cb06a241e..c425eb630955 100644
--- a/samples/uhid/uhid-example.c
+++ b/samples/uhid/uhid-example.c
@@ -179,7 +179,7 @@ static int create(int fd)

      memset(&ev, 0, sizeof(ev));
      ev.type = UHID_CREATE;
-    strcpy((char*)ev.u.create.name, "test-uhid-device");
+    strcpy((char *)ev.u.create.name, "test-uhid-device");
      ev.u.create.rd_data = rdesc;
      ev.u.create.rd_size = sizeof(rdesc);
      ev.u.create.bus = BUS_USB;