From: kernel test robot <lkp@intel.com>
To: Sunyun Yang <syyang@lontium.com>
Cc: oe-kbuild-all@lists.linux.dev,
Krzysztof Kozlowski <krzk@kernel.org>,
Mohit Dsor <mohit.dsor@oss.qualcomm.com>
Subject: [krzk-github:wip/eliza-integration-display-on-early-hwe 9/29] drivers/gpu/drm/bridge/lontium-lt9611c.c:1296:12: warning: 'lt9611c_bridge_resume' defined but not used
Date: Thu, 15 Oct 2026 22:39:33 +0800 [thread overview]
Message-ID: <202610152248.OJBcyThs-lkp@intel.com> (raw)
tree: https://github.com/krzk/linux wip/eliza-integration-display-on-early-hwe
head: bc8619ef46818e58ca3d967ab1c52ad66162306a
commit: 8ba7bfc43e9529afe137a37928f4144a6613ad2a [9/29] drm/bridge: Add Lontium LT9611C(EX/UXD) MIPI DSI to HDMI driver
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20261015/202610152248.OJBcyThs-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610152248.OJBcyThs-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610152248.OJBcyThs-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/bridge/lontium-lt9611c.c:1296:12: warning: 'lt9611c_bridge_resume' defined but not used [-Wunused-function]
1296 | static int lt9611c_bridge_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/lontium-lt9611c.c:1274:12: warning: 'lt9611c_bridge_suspend' defined but not used [-Wunused-function]
1274 | static int lt9611c_bridge_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/lt9611c_bridge_resume +1296 drivers/gpu/drm/bridge/lontium-lt9611c.c
1273
> 1274 static int lt9611c_bridge_suspend(struct device *dev)
1275 {
1276 struct lt9611c *lt9611c = dev_get_drvdata(dev);
1277 int ret;
1278
1279 disable_irq(lt9611c->client->irq);
1280 cancel_work_sync(<9611c->work);
1281
1282 gpiod_set_value_cansleep(lt9611c->reset_gpio, 1);
1283
1284 ret = regulator_bulk_disable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
1285 if (ret) {
1286 dev_err(lt9611c->dev, "regulator bulk disable failed.\n");
1287 gpiod_set_value_cansleep(lt9611c->reset_gpio, 0);
1288 msleep(400);
1289 enable_irq(lt9611c->client->irq);
1290 return ret;
1291 }
1292
1293 return 0;
1294 }
1295
> 1296 static int lt9611c_bridge_resume(struct device *dev)
1297 {
1298 struct lt9611c *lt9611c = dev_get_drvdata(dev);
1299 int ret;
1300
1301 ret = regulator_bulk_enable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
1302 if (ret) {
1303 dev_err(lt9611c->dev, "regulator bulk enable failed.\n");
1304 return ret;
1305 }
1306 lt9611c_reset(lt9611c);
1307 enable_irq(lt9611c->client->irq);
1308
1309 return ret;
1310 }
1311
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-15 14:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610152248.OJBcyThs-lkp@intel.com \
--to=lkp@intel.com \
--cc=krzk@kernel.org \
--cc=mohit.dsor@oss.qualcomm.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=syyang@lontium.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.