iio: light: vcnl4000: make read-only const array regulator_names static

Don't populate the read-only const array regulator_names on the stack
at run time, instead make it static const char * const

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
This commit is contained in:
Colin Ian King 2026-07-14 17:57:39 +01:00 • committed by Jonathan Cameron
commit 091e7a67a9