Skip to content
Commit f103b2e5 authored by Aleksandr Mezin's avatar Aleksandr Mezin Committed by Guenter Roeck
Browse files

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: default avatarAleksandr Mezin <mezin.alexander@gmail.com>
Link: https://lore.kernel.org/r/20211228014813.832491-1-mezin.alexander@gmail.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 565210c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment