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/multi-presence/main.cpp b/multi-presence/main.cpp
index 368f8bb..858ac7c 100644
--- a/multi-presence/main.cpp
+++ b/multi-presence/main.cpp
@@ -84,7 +84,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
@@ -131,7 +131,7 @@
             line = gpiod_line_find(lineName.c_str());
         }
 
-        if (line == NULL)
+        if (line == nullptr)
         {
             lg2::error("Failed to find the {GPIO}", "GPIO", lineMsg);
             continue;