Commit f76e174b authored by Lyude Paul's avatar Lyude Paul Committed by Ben Skeggs

drm/nouveau: Cleanup indenting in nouveau_backlight.c

Still no functional changes.
Signed-off-by: default avatarLyude Paul <lyude@redhat.com>
Reviewed-by: default avatarKarol Herbst <kherbst@redhat.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent a4e05f41
...@@ -204,7 +204,8 @@ nva3_set_intensity(struct backlight_device *bd) ...@@ -204,7 +204,8 @@ nva3_set_intensity(struct backlight_device *bd)
div = nvif_rd32(device, NV50_PDISP_SOR_PWM_DIV(or)); div = nvif_rd32(device, NV50_PDISP_SOR_PWM_DIV(or));
val = (bd->props.brightness * div) / 100; val = (bd->props.brightness * div) / 100;
if (div) { if (div) {
nvif_wr32(device, NV50_PDISP_SOR_PWM_CTL(or), val | nvif_wr32(device, NV50_PDISP_SOR_PWM_CTL(or),
val |
NV50_PDISP_SOR_PWM_CTL_NEW | NV50_PDISP_SOR_PWM_CTL_NEW |
NVA3_PDISP_SOR_PWM_CTL_UNK); NVA3_PDISP_SOR_PWM_CTL_UNK);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment