Skip to content

ACPI: video: get rid of magic numbers, do other refactoring

Dmitry Frank linux-acpi 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v23 patches 2 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: video: get rid of magic numbers and use enum insteaddrivers/acpi/acpi_video.c+66 -445 replies
2/2ACPI: video: add comments about subtle casesdrivers/acpi/acpi_video.c+45 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] ACPI: video: get rid of magic numbers, do other refactoring

Hi,

This patchset makes the code more self-documented and clean.

Initially I was chasing a bug with the backlight on my laptop. Even though it's clear now what causes the issue, I'm not sure what's the proper way to fix it, so for now I just wrote about my research with the hope that someone could
help: http://www.spinics.net/lists/linux-acpi/msg73638.html , comments are appreciated!

So this patchset is a cleanup which I've done on my way.

Dmitry Frank (2):
ACPI: video: get rid of magic numbers and use enum instead
ACPI: video: add comments about subtle cases

 drivers/acpi/acpi_video.c | 157 ++++++++++++++++++++++++++++++++--------------
 1 file changed, 111 insertions(+), 46 deletions(-)
Signature · 1 line
2.11.0