linux-stable/drivers/platform
Giedrius Statkevičius 198b618ab1 asus-laptop: correct error handling in asus_read_brightness()
It is possible that acpi_evaluate_integer might fail and value would not be
set to any value so correct this defect by returning 0 in case of an
error. This is also the correct thing to return because the backlight
subsystem will print the old value of brightness in this case.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2016-04-25 10:39:58 -07:00
..
chrome platform/chrome: Fix i2c-designware adapter name 2015-11-09 19:43:33 -08:00
goldfish Convert straggling drivers to new six-argument get_user_pages() 2016-04-02 18:35:05 -05:00
mips
olpc OLPC: Use %*ph specifier instead of passing direct values 2015-10-06 23:22:08 +01:00
x86 asus-laptop: correct error handling in asus_read_brightness() 2016-04-25 10:39:58 -07:00
Kconfig goldfish: refactor goldfish platform configs 2016-01-28 23:34:36 -08:00
Makefile