]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: intel_soc_pmic_bxtwc: Use temporary variable for struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Oct 2024 10:49:53 +0000 (13:49 +0300)
committerLee Jones <lee@kernel.org>
Thu, 31 Oct 2024 14:58:50 +0000 (14:58 +0000)
commit3d6b7374f0d8b5f8945185e901a6f5e7ae887a16
treef120c4af9835607526c79745d4e2e1a7b6619b01
parentd2e77347ce9a4d70165f4e97d6a4133e48e678cc
mfd: intel_soc_pmic_bxtwc: Use temporary variable for struct device

Use a temporary variable for the struct device pointers to avoid
dereferencing. This makes code a bit neater.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241016105201.757024-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel_soc_pmic_bxtwc.c