bm92t: err change

This commit is contained in:
tmakin committed 2026-10-06 01:09:53 -05:00
1 parent c1199061b4
commit 2fa462786f
1 file changed
+1 -1
+1 -1
View File
@@ -2409,7 +2409,7 @@ static int bm92t_probe(struct i2c_client *client)
}
info->role_sw = fwnode_usb_role_switch_get(remote);
if (IS_ERR_OR_NULL(info->role_sw)) {
if (IS_ERR(info->role_sw)) {
err = PTR_ERR(info->role_sw);
dev_err(&client->dev, "Failed to retrieve fwnode: %d\n", err);
return err;