Skip to content
This repository has been archived by the owner on Aug 8, 2021. It is now read-only.

Commit

Permalink
input: misc: vl53L0: Fix misleading indentation warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Sultan Alsawaf <[email protected]>
Signed-off-by: Danny Lin <[email protected]>
  • Loading branch information
kerneltoast authored and kdrag0n committed Jul 29, 2020
1 parent dd6e39f commit 0a5656b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/input/misc/vl53L0/src/vl53l010_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,12 +615,12 @@ VL53L0_Error VL53L010_StaticInit(VL53L0_DEV Dev)
if (Status == VL53L0_ERROR_NONE)
Status = VL53L0_WrByte(Dev, 0x88, 0x00);

/* this function do nothing if it has been called before */
/* this function do nothing if it has been called before */
if (Status == VL53L0_ERROR_NONE)
Status = VL53L010_get_info_from_device(Dev);

if (Status == VL53L0_ERROR_NONE) {
if (Status == VL53L0_ERROR_NONE)
Revision = VL53L010_GETDEVICESPECIFICPARAMETER(Dev, Revision);
}

if (Status == VL53L0_ERROR_NONE) {
if (Revision == 0)
Expand Down

0 comments on commit 0a5656b

Please sign in to comment.