]> git.ipfire.org Git - people/ms/linux.git/commit
hwmon: (pmbus/ir38064) Mark ir38064_of_match as __maybe_unused
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Jan 2022 15:53:19 +0000 (07:53 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Jan 2022 02:21:27 +0000 (18:21 -0800)
commitf1e75e0d6a1ae02fa4189d7aeebab623bade2a21
tree364c7af0fe2d395b6a32c218ea68056125e5191c
parentd379880d9adb9f1ada3f1266aa49ea2561328e08
hwmon: (pmbus/ir38064) Mark ir38064_of_match as __maybe_unused

If CONFIG_PM is not enabled, the following warning is reported.

drivers/hwmon/pmbus/ir38064.c:54:34: warning:
unused variable 'ir38064_of_match'

Mark it as __maybe_unused.

Reported-by: kernel test robot <lkp@intel.com>
Cc: Arthur Heymans <arthur.heymans@9elements.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/ir38064.c