hwmon: (gl518sm) Fix overflows seen when writing into limit attributes

Writes into limit attributes can overflow due to additions and
multiplications with unchecked parameters.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 file changed