[PATCH 3/7] libsensors4: Compute mapping as a flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jean Delvare wrote:
> The compute mapping value is either SENSORS_NO_MAPPING or the same
> feature number as the logical mapping. This means that the compute
> mapping can be turned into a simple boolean flag. Doing so makes
> struct sensors_feature_data smaller, which saves some memory (about
> 17 kB in my tests.)
> 

Looks good too.

Regards,

Hans





[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux