[PATCH] f75383 /f75384 driver

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

 



Brian Beardall wrote:
> I've been thinking about folding all of the duplicate functions. There
> are quite a few because both temperature sensors behave exactly the
> same, 
ok - that confims my casual observation.

> and so they can be handled with one code execution line. Is there
> a dev in lm_sensors to allow the change in read frequencies?
>   

Im not sure what you mean here.
Do you want some sensor reads to fetch *fresher* data than others ?

>>> +	struct f75383_data *data = f75383_update_device(dev);
>>>       
you could add a 2nd param to your update-device, allowing caller to 
indicate desired freshness.
or you could carve update_device for separate sensors, and fetch each 
separately.


>> hth
>> jimc
>>     
>
>
>   





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

  Powered by Linux