clevo_keyboard: Remove non-error "error" output

This commit is contained in:
Christoffer Sandberg 2020-12-08 10:25:06 +01:00
parent 15cb908351
commit 4aa71e4ef0
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D

View file

@ -299,10 +299,8 @@ EXPORT_SYMBOL(clevo_evaluate_method);
u32 clevo_get_active_interface_id(char **id_str)
{
if (IS_ERR_OR_NULL(active_clevo_interface)) {
pr_err("clevo_keyboard: no active interface\n");
if (IS_ERR_OR_NULL(active_clevo_interface))
return -ENODEV;
}
if (!IS_ERR_OR_NULL(id_str))
*id_str = active_clevo_interface->string_id;