]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: spi-byte: Move OF ID table closer to their user
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Jun 2024 17:29:23 +0000 (20:29 +0300)
committerLee Jones <lee@kernel.org>
Wed, 26 Jun 2024 15:56:07 +0000 (16:56 +0100)
commit25458b2a4070c339d11af78dbecff3e845e6ad04
tree244f5aa1b1c5887036fedbdd35559841fc7adbfa
parent133f941f2239cbf8bd4b8a9c112e4811215149bf
leds: spi-byte: Move OF ID table closer to their user

There is no code that uses ID table directly, except the
struct device_driver at the end of the file. Hence, move
table closer to its user. It's always possible to access
them via a pointer.

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