cpusensor: Change cpusensor to intelcpusensor

cpusensor class is specifically used for Intel CPU. The name of this
class and the build option should be changed to reflect with their
role.
The patch set https://gerrit.openbmc.org/c/openbmc/openbmc/+/56096 is
required to prevent the build error in openbmc source.

Tested:
1. No build error.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I1f941fffa10222cdac908fd763dccc866ba0e8a6
diff --git a/include/CPUSensor.hpp b/include/IntelCPUSensor.hpp
similarity index 77%
rename from include/CPUSensor.hpp
rename to include/IntelCPUSensor.hpp
index f97c71c..844c861 100644
--- a/include/CPUSensor.hpp
+++ b/include/IntelCPUSensor.hpp
@@ -16,17 +16,19 @@
 #include <variant>
 #include <vector>
 
-class CPUSensor : public Sensor, public std::enable_shared_from_this<CPUSensor>
+class IntelCPUSensor :
+    public Sensor,
+    public std::enable_shared_from_this<IntelCPUSensor>
 {
   public:
-    CPUSensor(const std::string& path, const std::string& objectType,
-              sdbusplus::asio::object_server& objectServer,
-              std::shared_ptr<sdbusplus::asio::connection>& conn,
-              boost::asio::io_service& io, const std::string& sensorName,
-              std::vector<thresholds::Threshold>&& thresholds,
-              const std::string& configuration, int cpuId, bool show,
-              double dtsOffset);
-    ~CPUSensor() override;
+    IntelCPUSensor(const std::string& path, const std::string& objectType,
+                   sdbusplus::asio::object_server& objectServer,
+                   std::shared_ptr<sdbusplus::asio::connection>& conn,
+                   boost::asio::io_service& io, const std::string& sensorName,
+                   std::vector<thresholds::Threshold>&& thresholds,
+                   const std::string& configuration, int cpuId, bool show,
+                   double dtsOffset);
+    ~IntelCPUSensor() override;
     static constexpr unsigned int sensorScaleFactor = 1000;
     static constexpr unsigned int sensorPollMs = 1000;
     static constexpr size_t warnAfterErrorCount = 10;
@@ -53,10 +55,10 @@
     void restartRead(void);
 };
 
-extern boost::container::flat_map<std::string, std::shared_ptr<CPUSensor>>
+extern boost::container::flat_map<std::string, std::shared_ptr<IntelCPUSensor>>
     gCpuSensors;
 
-// this is added to cpusensor.hpp to avoid having every sensor have to link
+// this is added to intelcpusensor.hpp to avoid having every sensor have to link
 // against libgpiod, if another sensor needs it we may move it to utils
 inline bool cpuIsPresent(const SensorBaseConfigMap& gpioConfig)
 {