Skip to content

Help with lm75.c changes

Iker Perez linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hwmon: (lm75) Add kind field to struct lm75_datadrivers/hwmon/lm75.c+6 -41 reply
2/5hwmon: (lm75) Include hwmon_chip in the permitted types to be writendrivers/hwmon/lm75.c+38 -241 reply
3/5hwmon: (lm75) Give write permission to hwmon_chip_update_intervaldrivers/hwmon/lm75.c+1 -10 replies
4/5hwmon: (lm75) Create function from code to write into registersdrivers/hwmon/lm75.c+36 -271 reply
5/5First approach to sample time writing methoddrivers/hwmon/lm75.c+34 -91 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/5] Help with lm75.c changes

From: Iker Perez del Palomar Sustatxa <[email protected]>

Hello,

I have been working in the lm75.c driver, trying to add a variable update_time to the tmp75b device.

I am not very confident about, if what I am doing and how I am doing it is the best way it could be done. For that reason, I decided to send my current changes, so maybe I could be helped and my code revised.

I decided to separate my all my changes in probably more than needed commits because I thought that it would b easier to understand at first place. After the feedback and my changes are ready to submit I will squash the ones that are related between them and the patch series will be much shorter.

Thanks in advance for your help,

Regards,

Iker

Iker Perez del Palomar Sustatxa (5):
hwmon: (lm75) Add kind field to struct lm75_data
hwmon: (lm75) Include hwmon_chip in the permitted types to be writen
hwmon: (lm75) Give write permission to hwmon_chip_update_interval
hwmon: (lm75) Create function from code to write into registers First approach to sample time writing method

 drivers/hwmon/lm75.c | 166 +++++++++++++++++++++++++++++++++------------------
 1 file changed, 108 insertions(+), 58 deletions(-)
Signature · 1 line
2.11.0