hwmon: (w83627ehf) make the read-only arrays 'bit' static const
authorColin Ian King <colin.i.king@gmail.com>
Mon, 14 Jul 2025 15:55:05 +0000 (16:55 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 20 Jul 2025 23:38:34 +0000 (16:38 -0700)
commitbb4eb5739deda3c84801397f5fa9b067a9fc4746
tree3cd4b83474355d1d047314184b76d0c4d4053cb2
parent0429415a084a15466e87d504e8c2a502488184a5
hwmon: (w83627ehf) make the read-only arrays 'bit' static const

Don't populate the read-only arrays 'bit' on the stack at run time,
instead make them static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20250714155505.1234012-1-colin.i.king@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83627ehf.c