]> git.itanic.dy.fi Git - linux-stable/commit
hwmon: (via686a) Do PCI error checks on own line
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 24 Aug 2023 13:28:23 +0000 (16:28 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 25 Aug 2023 13:18:09 +0000 (06:18 -0700)
commit70332ec735202ceb874407be29f68919ab898dce
treed338fbbd8e2a4117d748c4653aa2fb164a2ee4d6
parente7593bda6a2e2e46521567f0ddea940f4acda0db
hwmon: (via686a) 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>
Link: https://lore.kernel.org/r/20230824132832.78705-6-ilpo.jarvinen@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/via686a.c