Hi Vitor, kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master] [also build test WARNING on v6.15-rc5 next-20250508] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Vitor-Soares/drm-bridge-cdns-dsi-Replace-deprecated-UNIVERSAL_DEV_PM_OPS/20250508-001902 base: linus/master patch link: https://lore.kernel.org/r/20250507161800.527464-1-ivitro%40gmail.com patch subject: [PATCH v2] drm/bridge: cdns-dsi: Replace deprecated UNIVERSAL_DEV_PM_OPS() config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20250509/202505090233.0ycnnaze-...@intel.com/config) compiler: s390-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505090233.0ycnnaze-...@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 <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202505090233.0ycnnaze-...@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c:1148:12: warning: >> 'cdns_dsi_suspend' defined but not used [-Wunused-function] 1148 | static int cdns_dsi_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~ >> drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c:1137:12: warning: >> 'cdns_dsi_resume' defined but not used [-Wunused-function] 1137 | static int cdns_dsi_resume(struct device *dev) | ^~~~~~~~~~~~~~~ vim +/cdns_dsi_suspend +1148 drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c 1136 > 1137 static int cdns_dsi_resume(struct device *dev) 1138 { 1139 struct cdns_dsi *dsi = dev_get_drvdata(dev); 1140 1141 reset_control_deassert(dsi->dsi_p_rst); 1142 clk_prepare_enable(dsi->dsi_p_clk); 1143 clk_prepare_enable(dsi->dsi_sys_clk); 1144 1145 return 0; 1146 } 1147 > 1148 static int cdns_dsi_suspend(struct device *dev) 1149 { 1150 struct cdns_dsi *dsi = dev_get_drvdata(dev); 1151 1152 clk_disable_unprepare(dsi->dsi_sys_clk); 1153 clk_disable_unprepare(dsi->dsi_p_clk); 1154 reset_control_assert(dsi->dsi_p_rst); 1155 dsi->link_initialized = false; 1156 return 0; 1157 } 1158 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki