clang-tidy: Enable readability-simplify-boolean-expr check

This checks for boolean expressions involving boolean constants
and simplifies them to use the appropriate boolean expression
directly.

Change-Id: I4ad7ec4ddfa4cfe9a0cf0d569d3d81c478c1776a
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/host_condition_gpio/host_condition.cpp b/host_condition_gpio/host_condition.cpp
index d0e4615..9a48c6a 100644
--- a/host_condition_gpio/host_condition.cpp
+++ b/host_condition_gpio/host_condition.cpp
@@ -49,10 +49,9 @@
         {
             int32_t gpioVal = 0;
 
-            line.request({lineName, gpiod::line_request::DIRECTION_INPUT,
-                          (true == isActHigh)
-                              ? 0
-                              : gpiod::line_request::FLAG_ACTIVE_LOW});
+            line.request(
+                {lineName, gpiod::line_request::DIRECTION_INPUT,
+                 (isActHigh) ? 0 : gpiod::line_request::FLAG_ACTIVE_LOW});
 
             gpioVal = line.get_value();
             line.release();