"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "cb75d97e9c77743ecfcc43375be135a55a4d9b25"
iio: light: us5182d: Refactor read_raw function
A bit of refactoring for better readability. Moved and slightly reorganized all the activity necessary for reading als and proximity into a different function. This way the switch in read raw becomes clearer and more compact. Signed-off-by:Adriana Reus <adriana.reus@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
Loading
Please register or sign in to comment