Various fixes to make kiic(4) work on my G5s.
Only read the bus number from the "i2c-bus" child node if present, this node exists only in some device-trees, otherwise use the bus number encoded in t
Various fixes to make kiic(4) work on my G5s.
Only read the bus number from the "i2c-bus" child node if present, this node exists only in some device-trees, otherwise use the bus number encoded in the address of the device.
Fix an off-by-one when reading the data.
While here remove unused functions.
show more ...
|