]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: spi-byte: Utilise temporary variable for struct device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Jun 2024 17:29:21 +0000 (20:29 +0300)
committerLee Jones <lee@kernel.org>
Wed, 26 Jun 2024 15:56:05 +0000 (16:56 +0100)
commit9ed388d1acb9b8d1136f429573d14ade963ba727
treebadd2ee3f92517e252ae689cd50eee54ba5c1db7
parent67b66160bdb266f11ce65003a3e22d0986ad256c
leds: spi-byte: Utilise temporary variable for struct device

We have a temporary variable to keep a pointer to struct device.
Utilise it where it makes sense.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240606173037.3091598-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-spi-byte.c