Static omnisensor::i2c::I2C_HWMON_DEVICES
source · [−]Expand description
A map of supported I2C device types.
Keys are supported I2C device types values are bool
s indicating whether or not the
device is expected to create a hwmon
directory when instantiated.
Functionally this could be simplified to a set (perhaps even with membership implying false instead of true to keep it smaller), but listing all known devices explicitly seems preferable maintainability-wise.