]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (max6639) : Update hwmon init using info structure
authorNaresh Solanki <naresh.solanki@9elements.com>
Fri, 14 Jun 2024 05:55:30 +0000 (11:25 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 14 Jun 2024 13:36:12 +0000 (06:36 -0700)
commit0f33272b60ed87a2609542a6851361f35b83c6ba
treee0ce33ed1f4b91ff35e1202cfb18b8ef7148b000
parent52115fc32905c0bacc244f1dace9a138518df0de
hwmon: (max6639) : Update hwmon init using info structure

Update hwmon init with info instead of group. The hwmon info structure
in more flexible to describe sensor attribute & easy to maintian.

Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Link: https://lore.kernel.org/r/20240614055533.2735210-1-naresh.solanki@9elements.com
[groeck: Replace clamp_val() with range check when writing pwmX_input]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max6639.c