Skip to content

Commit 6b75d88

Browse files
committed
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fix from Wolfram Sang: "Hot-fix for I2C" * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: xgene-slimpro: Fix wrong pointer passed to PTR_ERR()
2 parents e582e08 + c80be25 commit 6b75d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-xgene-slimpro.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static int xgene_slimpro_i2c_probe(struct platform_device *pdev)
487487
pcc_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx);
488488
if (IS_ERR(pcc_chan)) {
489489
dev_err(&pdev->dev, "PCC mailbox channel request failed\n");
490-
return PTR_ERR(ctx->pcc_chan);
490+
return PTR_ERR(pcc_chan);
491491
}
492492

493493
ctx->pcc_chan = pcc_chan;

0 commit comments

Comments
 (0)