[linux-stable-rc:linux-5.15.y 2544/6451] drivers/mfd/atmel-flexcom.c:108:32: warning: 'atmel_flexcom_pm_ops' defined but not used

From: kernel test robot
Date: Thu May 12 2022 - 10:58:39 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
head: c9e18547cc55752d0ff283cfeb47d2c556560b17
commit: 6b6e7150c18becf39038245123ee07931149a105 [2544/6451] mfd: atmel-flexcom: Use .resume_noirq
config: x86_64-randconfig-m001-20220509 (https://download.01.org/0day-ci/archive/20220512/202205122255.WcGtKiOs-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=6b6e7150c18becf39038245123ee07931149a105
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.15.y
git checkout 6b6e7150c18becf39038245123ee07931149a105
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mfd/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/mfd/atmel-flexcom.c:108:32: warning: 'atmel_flexcom_pm_ops' defined but not used [-Wunused-const-variable=]
108 | static const struct dev_pm_ops atmel_flexcom_pm_ops = {
| ^~~~~~~~~~~~~~~~~~~~


vim +/atmel_flexcom_pm_ops +108 drivers/mfd/atmel-flexcom.c

107
> 108 static const struct dev_pm_ops atmel_flexcom_pm_ops = {
109 .resume_noirq = atmel_flexcom_resume_noirq,
110 };
111

--
0-DAY CI Kernel Test Service
https://01.org/lkp