From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim.cromie@gmail.com (Jim Cromie) Date: Sat, 19 Aug 2006 20:49:35 +0000 Subject: [lm-sensors] [PATCH] f75383 /f75384 driver Message-Id: <44E7795F.8090609@gmail.com> List-Id: References: <1155997256.19938.6.camel@rapsure.rapsure.net> In-Reply-To: <1155997256.19938.6.camel@rapsure.rapsure.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org 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 >> > > >