Input: Switch to DEFINE_SIMPLE_DEV_PM_OP() set 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest69 patches 19 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
17 of 69 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Luca Weiss | Krzysztof Kozlowski | Claudiu Beznea | Alistair Francis | Jeff LaBundy | Linus Walleij | Stephen Boyd | Heiko Stuebner | Hans de Goede | Michael Hennerich |
|---|---|---|---|---|---|---|---|---|---|---|
| Series | R-b | |||||||||
| 1/69 | ||||||||||
| 2/69 | ||||||||||
| 3/69 | ||||||||||
| 4/69 | ||||||||||
| 5/69 | ||||||||||
| 6/69 | ||||||||||
| 7/69 | R-b | |||||||||
| 8/69 | R-b | |||||||||
| 9/69 | R-b | |||||||||
| 10/69 | ||||||||||
| 11/69 | R-b | |||||||||
| 12/69 | ||||||||||
| 13/69 | ||||||||||
| 14/69 | ||||||||||
| 15/69 | ||||||||||
| 16/69 | R-b | |||||||||
| 17/69 | ||||||||||
| 18/69 | R-b | |||||||||
| 19/69 | ||||||||||
| 20/69 | ||||||||||
| 21/69 | ||||||||||
| 22/69 | ||||||||||
| 23/69 | ||||||||||
| 24/69 | ||||||||||
| 25/69 | ||||||||||
| 26/69 | R-b | |||||||||
| 27/69 | ||||||||||
| 28/69 | ||||||||||
| 29/69 | ||||||||||
| 30/69 | A-b | |||||||||
| 31/69 | ||||||||||
| 32/69 | ||||||||||
| 33/69 | R-b | |||||||||
| 34/69 | R-b | |||||||||
| 35/69 | ||||||||||
| 36/69 | ||||||||||
| 37/69 | R-b | |||||||||
| 38/69 | R-b | |||||||||
| 39/69 | ||||||||||
| 40/69 | ||||||||||
| 41/69 | ||||||||||
| 42/69 | ||||||||||
| 43/69 | ||||||||||
| 44/69 | R-b | |||||||||
| 45/69 | ||||||||||
| 46/69 | R-b | |||||||||
| 47/69 | ||||||||||
| 48/69 | ||||||||||
| 49/69 | ||||||||||
| 50/69 | ||||||||||
| 51/69 | R-b | |||||||||
| 52/69 | ||||||||||
| 53/69 | ||||||||||
| 54/69 | ||||||||||
| 55/69 | ||||||||||
| 56/69 | ||||||||||
| 57/69 | ||||||||||
| 58/69 | ||||||||||
| 59/69 | R-b | |||||||||
| 60/69 | ||||||||||
| 61/69 | ||||||||||
| 62/69 | ||||||||||
| 63/69 | ||||||||||
| 64/69 | R-b | |||||||||
| 65/69 | ||||||||||
| 66/69 | ||||||||||
| 67/69 | ||||||||||
| 68/69 | ||||||||||
| 69/69 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.
Cover letter [PATCH 00/69] Input: Switch to DEFINE_SIMPLE_DEV_PM_OP() set 2
From: Jonathan Cameron <[email protected]>
This 2nd set is a continuation from:
https://lore.kernel.org/all/[email protected]/
A 3rd set (maybe more than one) will cover the remaining more complex cases in Input that go beyond a straight forward switch. Those will need more careful review than this (hopefully) simple set.
As part of recent changes to the macros in linux/pm.h, the SIMPLE_DEV_PM_OPS() macro is deprecated in favor of the combination of DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr().
More details in the relevant commit message.
The main advantage of the new versions is that they allow the compiler to 'see' the callbacks registered, thus avoiding the need to either protect them with ifdef guards or to mark them __maybe_unused. The compiler then removes the structure and the callbacks as dead code in event of !CONFIG_PM_SLEEP.
Ultimately to clean up the old macros the change needs to be done to all instances of the SIMPLE_DEV_PM_OPS() in the kernel. There are similar changes to be done for runtime PM macros and more complex PM handling. This set is just meant to switch over some of the low hanging fruit in a bite sized chunk.
Jonathan Cameron (69):
Input: 88pm860x - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: da7280 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: drv260x - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: drv2665 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: drv2667 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: e3x0-button - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: gpio-vibra - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: iqs269a - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: iqs626a - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: kxtj9 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
Input: max77693-haptic - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: max8925_onkey - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: max8997_haptic - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: palmas-pwrbutton - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pcfg8574_keypad - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pm8941-pwrkey - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pm8xxx-vibrator - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pmic8xxx-pwrkey - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pwm-beeper - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pwm-vibra - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: regulator-haptic - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: rotary-encoder - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: stpmic1_onekey - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: twl4030-vibra - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: twl6030-vibra - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: elan_i2c_core - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: navpoint - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: synaptics_i2c - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ambakmi - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ad7877 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ads7846 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ar1021 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: atmel_mxt_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: auo-pixcir-ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: bu21013_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: bu21029 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: chipone_in8318 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: chipone_icn8505 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: cy8ctma140 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: cy8ctmg110_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: edt-ft5x06 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: eeti_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: egalax_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
input: ektf2127 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: elants_i2c - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: goodix - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: hideep - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ilitek_ts_i2c - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: imagis - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: imx6ul_tsc - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: iqs5xx - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: mcs5000_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: melfas_mip4 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
input: migor_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: mms114 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: msg2638 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: pixcir_i2c_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: raydium_i2c_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: silead - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: st1232 - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: surface3_spi - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ti_am335x_tsc - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ucb1400_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: wacom_i2c - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: wdt87xx_i2c - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: wm97xx - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: zforce_ts - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: zinitix - switch to DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()
Input: ipaq-micro-ts - use DEFINE_SIMPLE_DEV_PM_OPS() and
pm_sleep_ptr()drivers/input/misc/88pm860x_onkey.c | 9 +++++---- drivers/input/misc/da7280.c | 8 ++++---- drivers/input/misc/drv260x.c | 8 ++++---- drivers/input/misc/drv2665.c | 8 ++++---- drivers/input/misc/drv2667.c | 8 ++++---- drivers/input/misc/e3x0-button.c | 10 +++++----- drivers/input/misc/gpio-vibra.c | 10 +++++----- drivers/input/misc/iqs269a.c | 8 ++++---- drivers/input/misc/iqs626a.c | 8 ++++---- drivers/input/misc/kxtj9.c | 8 ++++---- drivers/input/misc/max77693-haptic.c | 11 ++++++----- drivers/input/misc/max8925_onkey.c | 9 +++++---- drivers/input/misc/max8997_haptic.c | 7 ++++--- drivers/input/misc/palmas-pwrbutton.c | 10 +++++----- drivers/input/misc/pcf8574_keypad.c | 16 +++------------- drivers/input/misc/pm8941-pwrkey.c | 10 +++++----- drivers/input/misc/pm8xxx-vibrator.c | 6 +++--- drivers/input/misc/pmic8xxx-pwrkey.c | 8 ++++---- drivers/input/misc/pwm-beeper.c | 10 +++++----- drivers/input/misc/pwm-vibra.c | 10 +++++----- drivers/input/misc/regulator-haptic.c | 8 ++++---- drivers/input/misc/rotary_encoder.c | 10 +++++----- drivers/input/misc/stpmic1_onkey.c | 12 ++++++------ drivers/input/misc/twl4030-vibra.c | 10 +++++----- drivers/input/misc/twl6040-vibra.c | 7 ++++--- drivers/input/mouse/elan_i2c_core.c | 8 ++++---- drivers/input/mouse/navpoint.c | 9 +++++---- drivers/input/mouse/synaptics_i2c.c | 10 +++++----- drivers/input/serio/ambakmi.c | 6 +++--- drivers/input/touchscreen/ad7877.c | 8 ++++---- drivers/input/touchscreen/ads7846.c | 8 ++++---- drivers/input/touchscreen/ar1021_i2c.c | 9 +++++---- drivers/input/touchscreen/atmel_mxt_ts.c | 8 ++++---- drivers/input/touchscreen/auo-pixcir-ts.c | 10 +++++----- drivers/input/touchscreen/bu21013_ts.c | 8 ++++---- drivers/input/touchscreen/bu21029_ts.c | 8 ++++---- drivers/input/touchscreen/chipone_icn8318.c | 6 ++---- drivers/input/touchscreen/chipone_icn8505.c | 8 ++++---- drivers/input/touchscreen/cy8ctma140.c | 9 +++++---- drivers/input/touchscreen/cy8ctmg110_ts.c | 9 +++++---- drivers/input/touchscreen/edt-ft5x06.c | 10 +++++----- drivers/input/touchscreen/eeti_ts.c | 8 ++++---- drivers/input/touchscreen/egalax_ts.c | 9 +++++---- drivers/input/touchscreen/ektf2127.c | 10 +++++----- drivers/input/touchscreen/elants_i2c.c | 10 +++++----- drivers/input/touchscreen/goodix.c | 8 ++++---- drivers/input/touchscreen/hideep.c | 8 ++++---- drivers/input/touchscreen/ilitek_ts_i2c.c | 8 ++++---- drivers/input/touchscreen/imagis.c | 8 ++++---- drivers/input/touchscreen/imx6ul_tsc.c | 10 +++++----- drivers/input/touchscreen/ipaq-micro-ts.c | 11 +++++------ drivers/input/touchscreen/iqs5xx.c | 8 ++++---- drivers/input/touchscreen/mcs5000_ts.c | 9 +++++---- drivers/input/touchscreen/melfas_mip4.c | 8 ++++---- drivers/input/touchscreen/migor_ts.c | 8 ++++---- drivers/input/touchscreen/mms114.c | 8 ++++---- drivers/input/touchscreen/msg2638.c | 8 ++++---- drivers/input/touchscreen/pixcir_i2c_ts.c | 10 +++++----- drivers/input/touchscreen/raydium_i2c_ts.c | 12 ++++++------ drivers/input/touchscreen/silead.c | 8 ++++---- drivers/input/touchscreen/st1232.c | 10 +++++----- drivers/input/touchscreen/surface3_spi.c | 12 ++++++------ drivers/input/touchscreen/ti_am335x_tsc.c | 8 ++++---- drivers/input/touchscreen/ucb1400_ts.c | 10 +++++----- drivers/input/touchscreen/wacom_i2c.c | 8 ++++---- drivers/input/touchscreen/wdt87xx_i2c.c | 8 ++++---- drivers/input/touchscreen/wm97xx-core.c | 10 +++++----- drivers/input/touchscreen/zforce_ts.c | 8 ++++---- drivers/input/touchscreen/zinitix.c | 8 ++++---- 69 files changed, 306 insertions(+), 308 deletions(-)
Signature · 1 line
2.39.0