[lee-mfd:for-mfd-next 10/17] drivers/mfd/atmel-flexcom.c:108:32: warning: unused variable 'atmel_flexcom_pm_ops'

From: kernel test robot
Date: Fri Dec 03 2021 - 11:40:24 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
head: 54d4c88b37595173d7039ea9a57913edfee48f47
commit: 5d051cf94fd5834a1513aa77e542c49fd973988a [10/17] mfd: atmel-flexcom: Use .resume_noirq
config: i386-randconfig-a011-20211203 (https://download.01.org/0day-ci/archive/20211204/202112040029.Dop6RXrq-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d30fcadf07ee552f20156ea90be2fdb54cb9cb08)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=5d051cf94fd5834a1513aa77e542c49fd973988a
git remote add lee-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
git fetch --no-tags lee-mfd for-mfd-next
git checkout 5d051cf94fd5834a1513aa77e542c49fd973988a
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 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: unused variable 'atmel_flexcom_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops atmel_flexcom_pm_ops = {
^
1 warning generated.


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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx