We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef1e9f commit b7cc8c1Copy full SHA for b7cc8c1
optoe/optoe.c
@@ -899,7 +899,7 @@ static int optoe_probe(struct i2c_client *client,
899
optoe->byte_len = ONE_ADDR_EEPROM_SIZE;
900
} else { /* those were the only choices */
901
err = -EINVAL;
902
- goto exit;
+ goto err_struct;
903
}
904
905
/*
@@ -917,7 +917,7 @@ static int optoe_probe(struct i2c_client *client,
917
regmap = optoe_make_regmap(client);
918
if (IS_ERR(regmap)) {
919
err = PTR_ERR(regmap);
920
921
922
923
optoe->optoe_client.client = client;
0 commit comments