diff options
| author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-09-30 00:44:07 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-11 06:37:13 +0300 |
| commit | 59d608e152e582604e384beebbd607686e4265cf (patch) | |
| tree | c4d1af4f41dacaebecc4142cf7a906e87063be2e /net/unix/af_unix.c | |
| parent | 791ebc9d34e9d212fc03742c31654b017d385926 (diff) | |
| download | linux-59d608e152e582604e384beebbd607686e4265cf.tar.xz | |
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 <nicoleotsuka@gmail.com>
[groeck: Moved call to dev_set_drvdata()]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
