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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user