From: Michael Benedict Date: Mon, 3 Jun 2019 08:32:11 +0000 (+1000) Subject: drivers: vfs8xxx: silence enum-conversion warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8de2928ace4451c42396d67b9dd3287113534af5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drivers: vfs8xxx: silence enum-conversion warning Signed-off-by: Michael Benedict --- diff --git a/drivers/fingerprint/vfs8xxx.c b/drivers/fingerprint/vfs8xxx.c index 61750fea5296..b774dae60d66 100644 --- 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))