diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-06-16 19:21:28 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-06-20 12:38:54 +0200 |
commit | d4381dcf34fcde7b10f0fa9f1195a95db96639fb (patch) | |
tree | 3449fff3e93008e3bd957fbc25bfcd045c27c1a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | b52798a86af02776e627b457c2c4c9c49774498f (diff) |
platform/x86: int3472: discrete: Remove sensor_config-s
Currently the only 2 sensor_config-s both specify "avdd" as supply-id.
The INT3472 device is going to be the only supplier of a regulator for
the sensor device.
So there is no chance of collisions with other regulator suppliers
and it is undesirable to need to manually add new entries to
int3472_sensor_configs[] for each new sensor module which uses
a GPIO regulator.
Instead just always use "avdd" as supply-id when registering
the GPIO regulator.
If necessary for specific sensor drivers then other supply-ids can
be added as aliases in the future, adding aliases will be safe
since INT3472 will be the only regulator supplier for the sensor.
Cc: Bingbu Cao <bingbu.cao@intel.com>
Tested-by: Hao Yao <hao.yao@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Link: https://lore.kernel.org/r/20230616172132.37859-3-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions