drm/nouveau: Cleanup indenting in nouveau_backlight.c

Still no functional changes.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Lyude Paul
2018-09-06 17:43:25 -04:00
committed by Ben Skeggs
parent a4e05f415e
commit f76e174bd3

View File

@@ -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;