Update terminology used within repo
Update the terms to more inclusive language. This change if only for
variables used in the repo.
Change-Id: I5151c9c2efab707b5dbc707e55333a3cb8c4e32b
Signed-off-by: Matt Simmering <matthew.simmering@intel.com>
diff --git a/include/dbus-sdr/storagecommands.hpp b/include/dbus-sdr/storagecommands.hpp
index c8baaf1..7b3046c 100644
--- a/include/dbus-sdr/storagecommands.hpp
+++ b/include/dbus-sdr/storagecommands.hpp
@@ -81,7 +81,7 @@
struct Type12Record
{
get_sdr::SensorDataRecordHeader header;
- uint8_t slaveAddress;
+ uint8_t targetAddress;
uint8_t channelNumber;
uint8_t powerStateNotification;
uint8_t deviceCapabilities;
@@ -98,7 +98,7 @@
uint8_t pwrStateNotification, uint8_t capabilities,
uint8_t eid, uint8_t entityInst, uint8_t mfrDefined,
const std::string& sensorname) :
- slaveAddress(address),
+ targetAddress(address),
channelNumber(chNumber), powerStateNotification(pwrStateNotification),
deviceCapabilities(capabilities), reserved{}, entityID(eid),
entityInstance(entityInst), oem(mfrDefined)
diff --git a/include/ipmid/utils.hpp b/include/ipmid/utils.hpp
index 20f9847..1e2005f 100644
--- a/include/ipmid/utils.hpp
+++ b/include/ipmid/utils.hpp
@@ -457,11 +457,11 @@
/** @brief Perform the low-level i2c bus write-read.
* @param[in] i2cBus - i2c bus device node name, such as /dev/i2c-2.
- * @param[in] slaveAddr - i2c device slave address.
+ * @param[in] targetAddr - i2c device target address.
* @param[in] writeData - The data written to i2c device.
* @param[out] readBuf - Data read from the i2c device.
*/
-ipmi::Cc i2cWriteRead(std::string i2cBus, const uint8_t slaveAddr,
+ipmi::Cc i2cWriteRead(std::string i2cBus, const uint8_t targetAddr,
std::vector<uint8_t> writeData,
std::vector<uint8_t>& readBuf);
} // namespace ipmi