On Thu, 22 Feb 2024 02:13:37 +0100 Ondřej Jirman <megi@xxxxxx> wrote: > From: Icenowy Zheng <icenowy@xxxxxxx> > > AF8133J is a simple I2C-connected magnetometer, without interrupts. > > Add a simple IIO driver for it. > > Co-developed-by: Icenowy Zheng <icenowy@xxxxxxx> > Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx> > Signed-off-by: Dalton Durst <dalton@xxxxxxxxxxx> > Signed-off-by: Shoji Keita <awaittrot@xxxxxxx> > Co-developed-by: Ondrej Jirman <megi@xxxxxx> > Signed-off-by: Ondrej Jirman <megi@xxxxxx> > Reviewed-by: Andrey Skvortsov <andrej.skvortzov@xxxxxxxxx> > Tested-by: Andrey Skvortsov <andrej.skvortzov@xxxxxxxxx> One additional tweak from my local build tests. static > +const struct dev_pm_ops af8133j_pm_ops = { > + SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, pm_runtime_force_resume) > + RUNTIME_PM_OPS(af8133j_runtime_suspend, af8133j_runtime_resume, NULL) > +};