diff options
author | Aleksandr Mezin <mezin.alexander@gmail.com> | 2021-12-28 07:48:13 +0600 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-12-27 18:22:04 -0800 |
commit | f103b2e5a6197586effb0b9a1b72c30b5d65b0cd (patch) | |
tree | f52d26c732fcb02f4cbaa253a4479fcdfdaa7d29 /drivers/comedi | |
parent | 565210c7812013aac7969320ac5b86fff7a74cc6 (diff) | |
download | linux-stable-f103b2e5a6197586effb0b9a1b72c30b5d65b0cd.tar.gz linux-stable-f103b2e5a6197586effb0b9a1b72c30b5d65b0cd.tar.bz2 linux-stable-f103b2e5a6197586effb0b9a1b72c30b5d65b0cd.zip |
hwmon: (nzxt-smart2) Fix "unused function" warning
Fix warning when building with CONFIG_PM=n (and CONFIG_WERROR=y):
drivers/hwmon/nzxt-smart2.c:707:12: error: ‘nzxt_smart2_hid_reset_resume’
defined but not used [-Werror=unused-function]
707 | static int nzxt_smart2_hid_reset_resume(struct hid_device *hdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
Link: https://lore.kernel.org/r/20211228014813.832491-1-mezin.alexander@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions