drivers: input: touchscreen: xiaomi: Fix warnings

Change-Id: I85fb05a68fd9c38196804fdaff84ff24f0c0dcda
This commit is contained in:
Sebastiano Barezzi
2024-03-16 22:12:06 +01:00
parent 6c58397492
commit 93e7e30a1b

View File

@@ -152,12 +152,12 @@ struct xiaomi_touch *xiaomi_touch_dev_get(int minor)
return NULL; return NULL;
} }
struct class *get_xiaomi_touch_class() struct class *get_xiaomi_touch_class(void)
{ {
return xiaomi_touch_dev.class; return xiaomi_touch_dev.class;
} }
struct device *get_xiaomi_touch_dev() struct device *get_xiaomi_touch_dev(void)
{ {
return xiaomi_touch_dev.dev; return xiaomi_touch_dev.dev;
} }