]> git.itanic.dy.fi Git - linux-stable/commit
I2C: ali15x3: Do PCI error checks on own line
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Sun, 27 Aug 2023 13:37:02 +0000 (16:37 +0300)
committerWolfram Sang <wsa@kernel.org>
Wed, 30 Aug 2023 19:18:35 +0000 (21:18 +0200)
commite23e610058acd7b2b9339407e102976a2144e524
treeca9a48d9144fa6e341ab63e7b65afd1fe608319d
parentc8930ed073951105bf42c4b1d3b9520aa83debfa
I2C: ali15x3: Do PCI error checks on own line

Instead of if conditions with line splits, use the usual error handling
pattern with a separate variable to improve readability.

No functional changes intended.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-ali15x3.c