zephyr/drivers/regulator
Daniel DeGrasse 3a4594e444 drivers: regulator: Remove non-const usage of config struct
Config struct in pmic regulator driver was being used as a non-constant
value when an array defined at compile time was cast to a struct used at
runtime. Move this pointer to the data struct in pmic driver.

Fixes #41951

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-01-28 10:06:21 +01:00
..
CMakeLists.txt drivers: regulator: add i2c regulator driver 2021-12-08 08:27:44 -05:00
Kconfig drivers: regulator: add i2c regulator driver 2021-12-08 08:27:44 -05:00
Kconfig.fixed drivers: regulator: enable driver when compatible node is defined 2021-04-16 09:45:35 +02:00
Kconfig.pmic drivers: regulator: add i2c regulator driver 2021-12-08 08:27:44 -05:00
regulator_fixed.c drivers: regulator: convert to gpio_dt_spec 2021-10-28 11:15:12 +02:00
regulator_pmic.c drivers: regulator: Remove non-const usage of config struct 2022-01-28 10:06:21 +01:00