Skip to content

Commit

Permalink
hwmon: (adm9240) Convert to devm_hwmon_device_register_with_info API
Browse files Browse the repository at this point in the history
Also use regmap for register caching. This change reduces code and
data size by more than 40%.

While at it, fixed some warnings reported by checkpatch.

Cc: Chris Packham <Chris.Packham@alliedtelesis.co.nz>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Guenter Roeck committed Apr 20, 2021
1 parent 4f427dc commit 124b7e3
Showing 1 changed file with 445 additions and 495 deletions.
Loading

0 comments on commit 124b7e3

Please sign in to comment.