Commit be7d9294 authored by Guenter Roeck's avatar Guenter Roeck

hwmon: (nct6683) Display warning when enabling driver for unknown customer

Enabling the driver for devices with unknown customer ID is at least
somewhat risky, so add a warning to the kernel log.
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 5997eb60
......@@ -1236,6 +1236,8 @@ static int nct6683_probe(struct platform_device *pdev)
default:
if (!force)
return -ENODEV;
dev_warn(dev, "Enabling support for unknown customer ID 0x%04x\n", data->customer_id);
break;
}
nct6683_init_device(data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment