Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: dac: ad5791: drop unused member of struct ad5791_state

The regulator pointers reg_vdd and reg_vss are no longer used. So drop
them.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250811-ad5791-drop-unused-v1-1-3412fbf3ba36@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Nuno Sá and committed by
Jonathan Cameron
8ffc1380 f1c67514

-4
-4
drivers/iio/dac/ad5791.c
··· 80 80 /** 81 81 * struct ad5791_state - driver instance specific data 82 82 * @spi: spi_device 83 - * @reg_vdd: positive supply regulator 84 - * @reg_vss: negative supply regulator 85 83 * @gpio_reset: reset gpio 86 84 * @gpio_clear: clear gpio 87 85 * @gpio_ldac: load dac gpio ··· 98 100 */ 99 101 struct ad5791_state { 100 102 struct spi_device *spi; 101 - struct regulator *reg_vdd; 102 - struct regulator *reg_vss; 103 103 struct gpio_desc *gpio_reset; 104 104 struct gpio_desc *gpio_clear; 105 105 struct gpio_desc *gpio_ldac;