[PATCH 07/19] bh1770glc: split read result function

2013-06-13 Thread Andi Shyti
prox_read_result() has been split in two functions: - ps_get_result(): reads the proximity value from the register - prox_read_result(): applies the logic above the proximity value Signed-off-by: Andi Shyti --- drivers/misc/bh1770glc.c | 53 +- 1

[PATCH 07/19] bh1770glc: split read result function

2013-06-13 Thread Andi Shyti
prox_read_result() has been split in two functions: - ps_get_result(): reads the proximity value from the register - prox_read_result(): applies the logic above the proximity value Signed-off-by: Andi Shyti a...@etezian.org --- drivers/misc/bh1770glc.c | 53