diff options
| author | Triet Hoang <triet.hoang.dev@gmail.com> | 2026-08-22 04:59:56 +0000 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-09-04 20:07:07 +0200 |
| commit | 09ec4fe9036ed0a0293518dc11f2480423d1139a (patch) | |
| tree | 460b398c4b8f6d28d3a2fc550f84e3b2f261039b /scripts/Makefile.thinlto | |
| parent | ea609469a3e37fc731636c7be6bc3e8983b2070b (diff) | |
| download | linux-next-09ec4fe9036ed0a0293518dc11f2480423d1139a.tar.gz linux-next-09ec4fe9036ed0a0293518dc11f2480423d1139a.zip | |
mtd: rawnand: stm32_fmc2: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert the deprecated SIMPLE_DEV_PM_OPS to DEFINE_SIMPLE_DEV_PM_OPS
and pm_sleep_ptr().
This lets us drop the __maybe_unused annotations from its suspend
and resume callbacks, also reduces kernel size in case CONFIG_PM
or CONFIG_PM_SLEEP is disabled.
Signed-off-by: Triet Hoang <triet.hoang.dev@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
