i2c: xgene-slimpro: Fix missing mbox_free_channel call in probe error path

Free requested mailbox channel before return error.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by Axel Lin and committed by Wolfram Sang 72494810 fc0a1f03

+1
+1
drivers/i2c/busses/i2c-xgene-slimpro.c
··· 419 419 rc = i2c_add_adapter(adapter); 420 420 if (rc) { 421 421 dev_err(&pdev->dev, "Adapter registeration failed\n"); 422 + mbox_free_channel(ctx->mbox_chan); 422 423 return rc; 423 424 } 424 425