Skip to content

hwmon: (sch5627) Use devres function

[email protected] linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hwmon: (sch5627) Use devres functiondrivers/hwmon/sch5627.c+5 -100 replies
2/2hwmon: (sch5627) Remove unnecessary error pathdrivers/hwmon/sch5627.c+25 -450 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans de Goede
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] hwmon: (sch5627) Use devres function

From: Armin Wolf <[email protected]>

Use devm_hwmon_device_register_with_info() to simplify the source code and remove an unnecessary error path in sch5627_probe as it performs nothing useful when using the devres function.

Tested on a Fujitsu Esprimo P720.

Armin Wolf (2):
hwmon: (sch5627) Use devres function
hwmon: (sch5627) Remove unnecessary error path

 drivers/hwmon/sch5627.c | 81 ++++++++++++++---------------------------
 1 file changed, 28 insertions(+), 53 deletions(-)

--
2.20.1