projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca34248
)
drivers: vfs8xxx: silence enum-conversion warning
author
Michael Benedict
<michaelbt@live.com>
Mon, 3 Jun 2019 08:32:11 +0000
(18:32 +1000)
committer
Michael Benedict
<michaelbt@live.com>
Sat, 31 Aug 2019 15:08:52 +0000
(
01:08
+1000)
Signed-off-by: Michael Benedict <michaelbt@live.com>
drivers/fingerprint/vfs8xxx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/fingerprint/vfs8xxx.c
b/drivers/fingerprint/vfs8xxx.c
index 61750fea529681c7d63b152b9c66a3db12b9a315..b774dae60d66ce2f74e14122de529510f625c2f6 100644
(file)
--- a/
drivers/fingerprint/vfs8xxx.c
+++ b/
drivers/fingerprint/vfs8xxx.c
@@
-1367,7
+1367,7
@@
static int vfsspi_parse_dt(struct device *dev, struct vfsspi_device_data *data)
if (of_property_read_string_index(np, "vfsspi-chipid", 0,
(const char **)&data->chipid))
- data->chipid =
'\0'
;
+ data->chipid =
NULL
;
pr_info("%s: chipid: %s\n", __func__, data->chipid);
if (of_property_read_u32(np, "vfsspi-wog", &data->detect_mode))