]> git.baikalelectronics.ru Git - kernel.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)
commitccf11cbc01b4ad562dc5f7f1fdd33bb38def18b4
tree364c7af0fe2d395b6a32c218ea68056125e5191c
parentb56cba154b04c0d16c4e9290431d5fe7487bd28a
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