eeepc-laptop: pull out eeepc_destroy_rfkill

In eeepc_rfkill_exit, we implement the same code four times. Pull out a
function that cleans up an rfkill object to get rid of the duplication.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
eeepc-laptop: clean up control flow in eeepc_acpi_notify

eeepc_acpi_notify increases the indentation level to a whopping four. If
we revise the conditions a bit, we can reduce that to a more soothing
two.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
eeepc-laptop: replace magic numbers with defines

Inline numbers in code are considered bad style. Replace some magic
numbers with appropriately named macros.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
eeepc-laptop: document fan_pwm conversions

eeepc_get_fan_pwm and eeepc_set_fan_pwm convert the PWM value read from
the fan to a range lmsensors understands. Unfortunately this is only
clear if you are familiar with how lmsensors handles duty cycles.

Introduce two conversion functions that document the goal of these
conversions.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>

---
I can imagine people feeling that it is overkill to introduce two new
functions for this. I on the other hand feel that if you need to explain
what happens, you'd rather introduce a function than comments. The
compiler should deal with optimization.

Should we assume familiarity with lmsensors behavior?