hwmon: (fschmd) Make const arrays static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 5 Oct 2022 15:27:52 +0000 (16:27 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 5 Dec 2022 00:45:01 +0000 (16:45 -0800)
commit415519ad6966ce35f2535fc3ff95549414beb032
treeb1605049090aef3628f732ec29dc83ce5791fddd
parent76dcd734eca23168cb008912c0f69ff408905235
hwmon: (fschmd) Make const arrays static const

Don't populate the read-only const arrays names and watchdog_minors
on the stack but instead make them static const. Also makes the
object code a little smaller.

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