On Tue, 17 Dec 2024 08:13:26 +0100 Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote: > device_init_wakeup() second argument is a bool type. Use proper boolean > values when calling it to match the type and to produce unambiguous code > which is easier to understand. > > Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> Verified via regexps that it's indeed this pattern: 1 => true, 0 => false. Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx> Cheers, Andre > --- > Created with a coccinelle script. I opted for a single patch because the change > is rather trivial. I can break out per driver if this is desired. If you > like the change at all, that is. > > drivers/rtc/rtc-88pm80x.c | 2 +- > drivers/rtc/rtc-88pm860x.c | 2 +- > drivers/rtc/rtc-amlogic-a4.c | 6 +++--- > drivers/rtc/rtc-armada38x.c | 2 +- > drivers/rtc/rtc-as3722.c | 2 +- > drivers/rtc/rtc-at91rm9200.c | 2 +- > drivers/rtc/rtc-at91sam9.c | 2 +- > drivers/rtc/rtc-cadence.c | 2 +- > drivers/rtc/rtc-cmos.c | 2 +- > drivers/rtc/rtc-cpcap.c | 2 +- > drivers/rtc/rtc-cros-ec.c | 2 +- > drivers/rtc/rtc-da9055.c | 2 +- > drivers/rtc/rtc-ds3232.c | 2 +- > drivers/rtc/rtc-isl1208.c | 2 +- > drivers/rtc/rtc-jz4740.c | 2 +- > drivers/rtc/rtc-loongson.c | 4 ++-- > drivers/rtc/rtc-lp8788.c | 2 +- > drivers/rtc/rtc-lpc32xx.c | 2 +- > drivers/rtc/rtc-max77686.c | 2 +- > drivers/rtc/rtc-max8925.c | 2 +- > drivers/rtc/rtc-max8997.c | 2 +- > drivers/rtc/rtc-meson-vrtc.c | 2 +- > drivers/rtc/rtc-mpc5121.c | 2 +- > drivers/rtc/rtc-mt6397.c | 2 +- > drivers/rtc/rtc-mv.c | 4 ++-- > drivers/rtc/rtc-mxc.c | 2 +- > drivers/rtc/rtc-mxc_v2.c | 2 +- > drivers/rtc/rtc-omap.c | 2 +- > drivers/rtc/rtc-palmas.c | 2 +- > drivers/rtc/rtc-pic32.c | 2 +- > drivers/rtc/rtc-pm8xxx.c | 2 +- > drivers/rtc/rtc-pxa.c | 2 +- > drivers/rtc/rtc-rc5t583.c | 2 +- > drivers/rtc/rtc-rc5t619.c | 2 +- > drivers/rtc/rtc-renesas-rtca3.c | 2 +- > drivers/rtc/rtc-rk808.c | 2 +- > drivers/rtc/rtc-s3c.c | 2 +- > drivers/rtc/rtc-s5m.c | 2 +- > drivers/rtc/rtc-sa1100.c | 2 +- > drivers/rtc/rtc-sc27xx.c | 4 ++-- > drivers/rtc/rtc-sh.c | 2 +- > drivers/rtc/rtc-spear.c | 4 ++-- > drivers/rtc/rtc-sun6i.c | 2 +- > drivers/rtc/rtc-sunplus.c | 4 ++-- > drivers/rtc/rtc-tegra.c | 2 +- > drivers/rtc/rtc-test.c | 2 +- > drivers/rtc/rtc-tps6586x.c | 2 +- > drivers/rtc/rtc-tps65910.c | 2 +- > drivers/rtc/rtc-twl.c | 2 +- > drivers/rtc/rtc-wm831x.c | 2 +- > drivers/rtc/rtc-wm8350.c | 2 +- > drivers/rtc/rtc-xgene.c | 4 ++-- > drivers/rtc/rtc-zynqmp.c | 4 ++-- > 53 files changed, 62 insertions(+), 62 deletions(-) >