hwmon: (it87) Allow multiple chip IDs for force_id
authorFrank Crawford <frank@crawford.emu.id.au>
Sat, 28 Jan 2023 06:03:06 +0000 (17:03 +1100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:11 +0000 (07:30 -0800)
commit2a64e9d4451758fe4e1dc9106177b3b937b8c186
tree5bcf04fe370a436b9bfea57949438b16c847d003
parentf09c7965053e1608e508e9e2c18b1d77b350cff1
hwmon: (it87) Allow multiple chip IDs for force_id

Extend the force_id module parameter to allow specifying one or both
chip IDs separately.  If only a single parameter is given it defaults
to using that value for all chips, similar to previous usage.

Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
Link: https://lore.kernel.org/r/20230128060308.1549707-6-frank@crawford.emu.id.au
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c