Module Name: src Committed By: jruoho Date: Sun Feb 28 09:23:30 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_lid.c Log Message: Cleanup: * Semantics. * Remove ACPI_LID_DEBUG. * Reduce the amount of error reporting. * As the status of the lid (open/closed) is known upon suspend, move the state variable to the softc, and avoid one object evaluation this way.
i'm curious why ignoring the various errors is a good thing. in particular, sysmon_pswitch_register() and pmf_device_register() failure mean the device won't work properly, yet there is nothing to indicate such... .mrg.