hwmon: (ina3221) Add suspend and resume functions

Depending on the hardware design, an INA3221 chip might lose
its power during system suspend/resume. So this patch adds
a set of suspend and resume functions to cache the register
values including config register value and limit settings.

Signed-off-by: Nicolin Chen <[email protected]>
[groeck: Moved call to dev_set_drvdata()]
Signed-off-by: Guenter Roeck <[email protected]>
1 file changed