]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: cy8c95x0: Use temporary variable for struct device
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Sun, 10 Nov 2024 20:59:44 +0000 (22:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Nov 2024 13:18:06 +0000 (14:18 +0100)
commite1b47291bdcf0416337a535a52786fb55810f00d
tree495007909563e17450b4072a0406079ba025d71e
parentf8bd5383d8b67e08153123718d0fb6e92a70f838
pinctrl: cy8c95x0: 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 <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/20241110210040.18918-5-andy.shevchenko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-cy8c95x0.c