aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2022-10-26 10:11:33 +0000
committerVille Syrjälä <[email protected]>2022-10-28 11:46:06 +0000
commit79708d142e65c59656aa231aa98e00334ced89a5 (patch)
tree0852b21783e2e9dcf547243cacc9295dacfde415 /drivers/hwmon/pwm-fan.c
parentdrm/i915/sdvo: Get rid of the output type<->device index stuff (diff)
downloadkernel-79708d142e65c59656aa231aa98e00334ced89a5.tar.gz
kernel-79708d142e65c59656aa231aa98e00334ced89a5.zip
drm/i915/sdvo: Reduce copy-pasta in output setup
Avoid having to call the output init function for each output type separately. We can just call the right one based on the "class" of the output. Technically we could just walk the bits of the bitmask but that could change the order in which we initialize the outputs. To avoid any behavioural changes keep to the same explicit probe order as before. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions