summaryrefslogtreecommitdiff
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2025-05-13 14:02:51 -0700
committerChanwoo Choi <cw00.choi@samsung.com>2025-09-08 15:12:54 +0900
commit67c74613f29610b59875a4aae513202db3afe300 (patch)
tree575d9052c02048a18c9d3434276cef7bb1aa2480 /rust/helpers/pci.c
parent145af3ddd1cda5c8399c27fe529150aa53b2fcb9 (diff)
extcon: max14526: avoid defined but not used warning
SIMPLE_PM_DEV_OPS() is deprecated according to <linux/pm.h>. Use DEFINE_SIMPLE_PM_DEV_OPS() instead. This avoids a build warning when CONFIG_PM is not enabled: drivers/extcon/extcon-max14526.c:265:12: warning: ‘max14526_resume’ defined but not used [-Wunused-function] 265 | static int max14526_resume(struct device *dev) Fixes: 145af3ddd1cd ("extcon: Add basic support for Maxim MAX14526 MUIC") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/lkml/20250513210252.1139749-1-rdunlap@infradead.org/ Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions