Skip to content

hwmon: (g762) Convert to with_info API

Guenter Roeck linux-hwmon 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hwmon: (g762) Simplify clock initializationdrivers/hwmon/g762.c+13 -530 replies
2/7hwmon: (g762) Drop platform data supportDocumentation/hwmon/g762.rst drivers/hwmon/g762.c include/linux/platform_data/g762.h+1 -600 replies
3/7hwmon: (g762) Reorder include files to be in alphabetic orderdrivers/hwmon/g762.c+6 -60 replies
4/7hwmon: (g762) Use bit operationsdrivers/hwmon/g762.c+40 -900 replies
5/7hwmon: (g762) Make chip configuration devicetree independentdrivers/hwmon/g762.c+77 -1100 replies
6/7hwmon: (g762) Convert to use regmapDocumentation/hwmon/g762.rst drivers/hwmon/g762.c+195 -3300 replies
7/7hwmon: (g762) Convert to with_info APIdrivers/hwmon/g762.c+180 -2930 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] hwmon: (g762) Convert to with_info API

Convert to with_info API to simplify the code and make it easier to maintain. The one notable functional change is to drop platform data support, which is and was never used in the upstream kernel.

The first five patches of this series clean up the driver. Patch 6/7 converts the driver to use regmap, and patch 7/7 converts it to use the with_info API.

----------------------------------------------------------------
Guenter Roeck (7):
hwmon: (g762) Simplify clock initialization
hwmon: (g762) Drop platform data support
hwmon: (g762) Reorder include files to be in alphabetic order
hwmon: (g762) Use bit operations
hwmon: (g762) Make chip configuration devicetree independent
hwmon: (g762) Convert to use regmap
hwmon: (g762) Convert to with_info API

 Documentation/hwmon/g762.rst       |    6 +-
 drivers/hwmon/g762.c               | 1222 ++++++++++++------------------------
 include/linux/platform_data/g762.h |   24 -
 3 files changed, 411 insertions(+), 841 deletions(-)
 delete mode 100644 include/linux/platform_data/g762.h