Searched hist:"3 ee959ad5e8691e352f1a8424a0dafe0d8ceaff0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/dbus-sensors/src/ |
H A D | DeviceMgmt.cpp | diff 3ee959ad5e8691e352f1a8424a0dafe0d8ceaff0 Wed Sep 21 19:16:28 CDT 2022 Zev Weiss <zev@bewilderbeest.net> DeviceMgmt: split I2CDeviceParams out of I2CDevice
The parameters struct now exists on its own, separately from the device struct which instantiates the kernel device in its constructor and removes it in its destructor. This allows the parameters to exist standalone so that we can do things like use an instance of it to check if a device is already instantiated without attempting to do so.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: Ib1c37ee26e27e59020a8e26916e697729a3661af
|