mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
clevo_keyboard: Remove non-error "error" output
This commit is contained in:
parent
15cb908351
commit
4aa71e4ef0
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue