nemomobile/mce — pull request #10 by spiiroin (2012-11-26 13:01:19+00:00)
Title: Improve error logging from mce_write_number_string_to_file() helper

There should be no changes to mce behavior.

The only purpose of the code changes is to give more informative
error logging in cases where mce_write_number_string_to_file()
gets called without properly configured paths (due to hw and/or
kernel changes), i.e. instead of:

(file == NULL) && ((fp == NULL) || (*fp == NULL))!
(file == NULL) && ((fp == NULL) || (*fp == NULL))!
(file == NULL) && ((fp == NULL) || (*fp == NULL))!

emit something like this:

touchscreen_disable: output->path not configured
keypad_disable: output->path not configured
brightness: output->path not configured