On Thu, 7 Nov 2024 23:11:34 +0100, Hans de Goede <hdegoede@xxxxxxxxxx> said: > The GMIN code has support for sensors using external regulators enabled > by GPIOS, rather then using regulators build into the PMIC. > > With the exception of the Trekstor ST70408-4 (1) tablet there are no known > devices which actually use external regulators for the sensors and the code > for this is using deprecated old style GPIO numbers support for which is > going away. > > Remove the GPIO driven regulator support so that the gmin code no longer > depends on deprecated GPIO APIs. > > 1) The GMIN support itself is also deprecated and all sensor drivers still > using it are being moved over to use ACPI + runtime-pm and the ST70408-4 > shipped with Android as factory OS and thus will have broken ACPI tables > for the sensors, so like other Android factory OS tablets it will need > a bespoke solution anyways. > > Reported-by: Bartosz Golaszewski <brgl@xxxxxxxx> > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> > --- > Thank you for taking the time to do this and removing an instance of using the legacy API! Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>