clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

Change-Id: Iade4e4f1f25092f880fe06d61703db505b6e03d1
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/gpioMonMain.cpp b/gpioMonMain.cpp
index 47c4d39..2a29d1f 100644
--- a/gpioMonMain.cpp
+++ b/gpioMonMain.cpp
@@ -83,7 +83,7 @@
         std::string lineMsg = "GPIO Line ";
 
         /* GPIO line */
-        gpiod_line* line = NULL;
+        gpiod_line* line = nullptr;
 
         /* GPIO line configuration, default to monitor both edge */
         struct gpiod_line_request_config config
@@ -130,7 +130,7 @@
             line = gpiod_line_find(lineName.c_str());
         }
 
-        if (line == NULL)
+        if (line == nullptr)
         {
             lg2::error("Failed to find the {GPIO}", "GPIO", lineMsg);
             continue;