diff options
| author | Rodrigo Alencar <rodrigo.alencar@analog.com> | 2026-02-16 20:10:51 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-24 00:00:58 +0300 |
| commit | ee4f8c56e46abd4bfeab1cee96cd391c0b7a3e4a (patch) | |
| tree | 67d5cf6a09a190e38f06847bf7334f028944a359 /include | |
| parent | 5fdb9c833293c6c341f58dc8109a6fdd2556a034 (diff) | |
| download | linux-ee4f8c56e46abd4bfeab1cee96cd391c0b7a3e4a.tar.xz | |
iio: amplifiers: ad8366: replace reset-gpio with reset controller
Remove reset_gpio from the device state struct and use the reset_control
interface instead, using a local variable, as it is not being used
anywhere else. The reset controller init is moved out from the switch case
and optionally initialized for every device variant. Although not all
devices have a reset pin the code does not need to change if it is not
wired.
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
