Thread (8 messages) 8 messages, 3 authors, 2026-01-14

Re: [PATCH v2 2/2] leds: ltc3220: Add Support for LTC3220 18 channel LED Driver

From: kernel test robot <hidden>
Date: 2026-01-12 16:38:38
Also in: linux-leds, lkml, oe-kbuild-all

Hi Edelweise,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 8856d7fe1758937ac528770f552ec58c388c255b]

url:    https://github.com/intel-lab-lkp/linux/commits/Edelweise-Escala/dt-bindings-leds-Add-LTC3220-18-channel-LED-Driver/20260112-170223
base:   8856d7fe1758937ac528770f552ec58c388c255b
patch link:    https://lore.kernel.org/r/20260112-ltc3220-driver-v2-2-d043058fc4df%40analog.com
patch subject: [PATCH v2 2/2] leds: ltc3220: Add Support for LTC3220 18 channel LED Driver
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260112/202601122335.DZgiMBky-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260112/202601122335.DZgiMBky-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202601122335.DZgiMBky-lkp@intel.com/ (local)

All warnings (new ones prefixed by >>):
quoted
drivers/leds/leds-ltc3220.c:348:12: warning: 'ltc3220_resume' defined but not used [-Wunused-function]
     348 | static int ltc3220_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~
quoted
drivers/leds/leds-ltc3220.c:340:12: warning: 'ltc3220_suspend' defined but not used [-Wunused-function]
     340 | static int ltc3220_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~


vim +/ltc3220_resume +348 drivers/leds/leds-ltc3220.c

   339	
 > 340	static int ltc3220_suspend(struct device *dev)
   341	{
   342		struct i2c_client *client = to_i2c_client(dev);
   343		struct ltc3220_state *ltc3220_state = i2c_get_clientdata(client);
   344	
   345		return ltc3220_shutdown(ltc3220_state);
   346	}
   347	
 > 348	static int ltc3220_resume(struct device *dev)
   349	{
   350		struct i2c_client *client = to_i2c_client(dev);
   351		struct ltc3220_state *ltc3220_state = i2c_get_clientdata(client);
   352	
   353		return ltc3220_resume_from_shutdown(ltc3220_state);
   354	}
   355	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help