summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorTheScarastic <warabhishek@gmail.com>2018-12-18 14:23:19 -0500
committerSebastiano Barezzi <barezzisebastiano@gmail.com>2021-03-12 21:12:13 +0100
commit56134b03f4752ba7e9541b4f4eee4c2c6433124d (patch)
tree41c2bf65b187a9bdb0db7d7b309519211ef512b7 /drivers/input
parent2685622e0507a1b5f1775e13506d8690d6a45315 (diff)
drivers: touchscreen: nvt_touch_d2t: Null terminate attribute group
* Fixes boot with Clang Change-Id: I836e9a4b02fdd0191928f1848ee37e530f63045e
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c b/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c
index 45e1e6569392..1dc38fd71d16 100644
--- a/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c
+++ b/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c
@@ -1754,6 +1754,7 @@ static struct attribute *nvt_attr_group[] = {
&dev_attr_panel_color.attr,
&dev_attr_panel_display.attr,
&dev_attr_grip_area.attr,
+ NULL,
};
static int grip_area_open(struct inode *inode, struct file *file)