[lm-sensors] [PATCh 4/4] Speed up sensors_get_ignored()
Hans de Goede
j.w.r.degoede at hhs.nl
Sun Jul 22 17:09:28 CEST 2007
Jean Delvare wrote:
> Now that sensors_get_ignored() is an internal function, we can change
> its prototype to suit our needs better.
>
> * Pass the chip name by address.
> * Pass the feature directly rather than its number.
> * Switch to a sane convention for the returned value.
> * Don't check for errors that can't happen.
>
> ---
> lib/access.c | 41 ++++++++++++++++++-----------------------
> 1 file changed, 18 insertions(+), 23 deletions(-)
>
And once more the patch looks good.
Regards,
Hans
p.s.
Let me know when this all lands, then I'll run another round of tests.
More information about the lm-sensors
mailing list