[PATCH 3.16 027/217] regulator: s5m8767: fix get_register() error handling

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit e07ff9434167981c993a26d2edbbcb8e13801dbb upstream. The s5m8767_pmic_probe() function calls s5m8767_get_register() to read data without checking the return

[PATCH 3.16 027/217] regulator: s5m8767: fix get_register() error handling

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit e07ff9434167981c993a26d2edbbcb8e13801dbb upstream. The s5m8767_pmic_probe() function calls s5m8767_get_register() to read data without checking the return code, which