Centos-kernel-stream-9/drivers/mfd
Mark Langsdorf db123c3e7d mfd: core: Use acpi_dev_for_each_child()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2176554

commit 0c9b9c2ac0df57b6b5949a51c45043b345698428
Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Date:   Mon Jun 13 20:31:08 2022 +0200

Instead of walking the list of children of an ACPI device directly,
use acpi_dev_for_each_child() to carry out an action for all of
the given ACPI device's children.

This will help to eliminate the children list head from struct
acpi_device as it is redundant and it is used in questionable ways
in some places (in particular, locking is needed for walking the
list pointed to it safely, but it is often missing).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/2726954.BEx9A2HvPv@kreacher
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2023-05-11 15:46:59 -04:00
..
88pm80x.c
88pm800.c mfd: 88pm800: Use DEFINE_RES_IRQ_NAMED() to simplify code 2021-06-02 10:51:19 +01:00
88pm805.c mfd: 88pm805: Use DEFINE_RES_IRQ_NAMED() to simplify code 2021-06-02 10:51:19 +01:00
88pm860x-core.c
88pm860x-i2c.c
Kconfig platform/x86/intel: Move intel_pmt from MFD to Auxiliary Bus 2022-03-17 12:15:22 -04:00
Makefile platform/x86/intel: Move intel_pmt from MFD to Auxiliary Bus 2022-03-17 12:15:22 -04:00
aat2870-core.c
ab8500-core.c mfd: ab8500-core: Use DEVICE_ATTR_RO/RW macro 2021-06-15 13:15:07 +01:00
ab8500-debugfs.c
ab8500-sysctrl.c
abx500-core.c
ac100.c
acer-ec-a500.c
act8945a.c
adp5520.c
altera-a10sr.c
altera-sysmgr.c
arizona-core.c mfd: arizona: Split of_match table into I2C and SPI versions 2022-01-17 14:06:27 +01:00
arizona-i2c.c mfd: arizona: Add missing statics to the of_match_tables 2022-05-26 12:31:09 +02:00
arizona-irq.c
arizona-spi.c mfd: arizona-spi: Add Android board ACPI table handling 2022-05-26 12:31:09 +02:00
arizona.h mfd: arizona: Split of_match table into I2C and SPI versions 2022-01-17 14:06:27 +01:00
as3711.c
as3722.c mfd: as3722: Use DEFINE_RES_IRQ_NAMED() to simplify code 2021-06-02 10:51:19 +01:00
asic3.c mfd: asic3: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code 2021-06-02 10:51:19 +01:00
at91-usart.c
atc260x-core.c
atc260x-i2c.c
atmel-flexcom.c
atmel-hlcdc.c
atmel-smc.c
axp20x-i2c.c
axp20x-rsb.c
axp20x.c mfd: axp20x: Allow AXP 806 chips without interrupt lines 2021-06-02 10:50:02 +01:00
bcm590xx.c
bcm2835-pm.c
bd9571mwv.c
cros_ec_dev.c mfd: cros_ec: Add peripheral device charger 2021-06-22 12:53:03 +01:00
cs47l15-tables.c
cs47l24-tables.c
cs47l35-tables.c
cs47l85-tables.c
cs47l90-tables.c
cs47l92-tables.c
cs5535-mfd.c
da903x.c
da9052-core.c
da9052-i2c.c mfd: da9052: Simplify getting of_device_id match data 2021-06-02 10:51:17 +01:00
da9052-irq.c
da9052-spi.c
da9055-core.c mfd: da9055: Use DEFINE_RES_IRQ_NAMED() to simplify code 2021-06-02 10:51:19 +01:00
da9055-i2c.c
da9062-core.c mfd: da9062: Simplify getting of_device_id match data 2021-06-02 10:51:18 +01:00
da9063-core.c
da9063-i2c.c mfd: da9063: Propagate errno when I2C mode fails 2021-06-02 10:51:17 +01:00
da9063-irq.c
da9150-core.c
davinci_voicecodec.c
db8500-prcmu.c mfd: db8500-prcmu: Fix multiple incorrectly documented function names 2021-06-02 10:50:03 +01:00
dbx500-prcmu-regs.h
dln2.c
dm355evm_msp.c
ene-kb3930.c
exynos-lpass.c
ezx-pcap.c
fsl-imx25-tsadc.c
gateworks-gsc.c
hi655x-pmic.c mfd: hisilicon: Use the correct HiSilicon copyright 2021-06-02 10:50:04 +01:00
hi6421-pmic-core.c
htc-i2cpld.c
htc-pasic3.c
intel-lpss-acpi.c mfd: intel-lpss: Provide an SSP type to the driver 2022-04-13 09:39:40 -04:00
intel-lpss-pci.c mfd: intel-lpss: Add Intel Meteor Lake-P PCI IDs 2023-03-13 11:18:10 -04:00
intel-lpss.c clk: fractional-divider: Introduce POWER_OF_TWO_PS flag 2022-05-05 14:04:49 -04:00
intel-lpss.h mfd: intel-lpss: Fix I2C4 not being available on the Microsoft Surface Go & Go 2 2022-04-13 09:39:39 -04:00
intel-m10-bmc.c
intel_pmc_bxt.c
intel_quark_i2c_gpio.c gpio: dwapb: Unify ACPI enumeration checks in get_irq() and configure_irqs() 2022-08-24 13:28:23 -06:00
intel_soc_pmic_bxtwc.c mfd: intel_soc_pmic_bxtwc: Use DEVICE_ATTR_ADMIN_RW macro 2021-06-15 13:14:45 +01:00
intel_soc_pmic_chtdc_ti.c
intel_soc_pmic_chtwc.c
intel_soc_pmic_core.c
intel_soc_pmic_core.h
intel_soc_pmic_crc.c
intel_soc_pmic_mrfld.c
ioc3.c mfd: ioc3: Directly include linux/irqdomain.h 2021-06-10 13:09:15 +01:00
ipaq-micro.c
iqs62x.c
janz-cmodio.c mfd: janz-cmodio: Use DEVICE_ATTR_RO macro 2021-06-15 13:14:23 +01:00
kempld-core.c mfd: kempld-core: Use DEVICE_ATTR_RO macro 2021-06-15 13:13:54 +01:00
khadas-mcu.c
lm3533-core.c
lm3533-ctrlbank.c
lochnagar-i2c.c
lp873x.c
lp3943.c
lp8788-irq.c
lp8788.c
lp87565.c mfd: lp87565: Handle optional reset pin 2021-06-02 10:50:00 +01:00
lpc_ich.c
lpc_sch.c
madera-core.c
madera-i2c.c
madera-spi.c
madera.h
max8907.c mfd: max8907: Remove IRQF_NO_AUTOEN flag 2021-06-15 13:18:58 +01:00
max8925-core.c
max8925-i2c.c
max8997-irq.c
max8997.c mfd: max8997: Simplify getting of_device_id match data 2021-06-02 10:51:17 +01:00
max8998-irq.c
max8998.c mfd: max8998: Simplify getting of_device_id match data 2021-06-02 10:51:17 +01:00
max14577.c
max77620.c
max77650.c
max77686.c
max77693.c
max77843.c
mc13xxx-core.c
mc13xxx-i2c.c
mc13xxx-spi.c
mc13xxx.h
mcp-core.c bus: Make remove callback return void 2022-08-25 10:41:31 -06:00
mcp-sa11x0.c
menelaus.c
menf21bmc.c
mfd-core.c mfd: core: Use acpi_dev_for_each_child() 2023-05-11 15:46:59 -04:00
motorola-cpcap.c mfd: cpcap: Fix cpcap dmamask not set warnings 2021-06-02 10:50:04 +01:00
mp2629.c
mt6358-irq.c
mt6360-core.c mfd: mt6360: Merge different sub-devices I2C read/write 2021-06-02 10:50:02 +01:00
mt6397-core.c
mt6397-irq.c
mxs-lradc.c
ntxec.c
omap-usb-host.c mfd: omap-usb-host: File headers are not good candidates for kernel-doc 2021-06-02 10:50:03 +01:00
omap-usb-tll.c mfd: omap-usb-tll: File headers are not good candidates for kernel-doc 2021-06-02 10:50:03 +01:00
omap-usb.h
palmas.c
pcf50633-adc.c
pcf50633-core.c mfd: pcf50633: Use DEVICE_ATTR_ADMIN_RO macro 2021-06-15 13:03:21 +01:00
pcf50633-gpio.c
pcf50633-irq.c
qcom-pm8xxx.c
qcom-pm8008.c mfd: pm8008: Add driver for QCOM PM8008 PMIC 2021-06-02 10:51:17 +01:00
qcom-spmi-pmic.c
qcom_rpm.c
rave-sp.c
rc5t583-irq.c
rc5t583.c
rdc321x-southbridge.c
retu-mfd.c
rk808.c
rn5t618.c mfd: rn5t618: Fix IRQ trigger by changing it to level mode 2021-06-02 10:50:00 +01:00
rohm-bd718x7.c
rohm-bd9576.c
rohm-bd70528.c
rohm-bd71828.c
rt4831.c mfd: rt4831: Adds support for Richtek RT4831 2021-06-02 10:50:01 +01:00
rt5033.c
sec-core.c mfd: sec: Enable wakeup from suspend via devicetree property 2021-06-02 10:51:18 +01:00
sec-irq.c mfd: sec: Remove unused irq_base in platform data 2021-06-02 10:51:18 +01:00
si476x-cmd.c mfd: si476x-cmd: Fix a bunch of incorrectly documented function names 2021-06-02 10:50:04 +01:00
si476x-i2c.c mfd: si476x-i2c: Fix incorrectly documented function names 2021-06-02 10:50:04 +01:00
si476x-prop.c
simple-mfd-i2c.c
sky81452.c
sm501.c mfd: sm501: Use DEVICE_ATTR_RO macro 2021-06-15 13:02:53 +01:00
sprd-sc27xx-spi.c
ssbi.c
sta2x11-mfd.c
stm32-lptimer.c
stm32-timers.c
stmfx.c
stmpe-i2c.c mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE 2021-06-02 10:50:00 +01:00
stmpe-spi.c
stmpe.c
stmpe.h
stpmic1.c
stw481x.c
sun4i-gpadc.c
sun6i-prcm.c mfd: sun6i-prcm: Use DEFINE_RES_MEM() to simplify code 2021-06-02 10:51:19 +01:00
syscon.c
t7l66xb.c mfd: t7l66xb: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code 2021-06-02 10:51:19 +01:00
tc3589x.c
tc6387xb.c
tc6393xb.c
ti-lmu.c
ti_am335x_tscadc.c
timberdale.c mfd: timberdale: Use DEVICE_ATTR_RO macro 2021-06-15 13:02:18 +01:00
timberdale.h
tmio_core.c
tps6105x.c
tps6507x.c
tps6586x.c
tps65010.c
tps65086.c
tps65090.c
tps65217.c
tps65218.c
tps65910.c
tps65911-comparator.c
tps65912-core.c
tps65912-i2c.c
tps65912-spi.c
tps80031.c mfd: tps80031: Use DEFINE_RES_IRQ() to simplify code 2021-06-02 10:51:19 +01:00
tqmx86.c
twl-core.c mfd: twl-core: Fix incorrect function name twl_regcache_bypass() 2021-06-02 10:50:03 +01:00
twl-core.h
twl4030-audio.c
twl4030-irq.c
twl4030-power.c
twl6030-irq.c
twl6040.c
ucb1x00-assabet.c mfd: ucb1x00-assabet: Use DEVICE_ATTR_RO macro 2021-06-15 13:02:01 +01:00
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c
vexpress-sysreg.c
viperboard.c
vx855.c
wcd934x.c
wl1273-core.c
wm97xx-core.c
wm831x-auxadc.c
wm831x-core.c mfd: wm831x: Use DEFINE_RES_IRQ_NAMED() and DEFINE_RES_IRQ() to simplify code 2021-06-15 12:53:38 +01:00
wm831x-i2c.c
wm831x-irq.c
wm831x-otp.c mfd: wm831x: Use DEVICE_ATTR_RO macro 2021-06-15 13:01:45 +01:00
wm831x-spi.c
wm5102-tables.c
wm5110-tables.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c
wm8350-regmap.c
wm8400-core.c
wm8994-core.c
wm8994-irq.c
wm8994-regmap.c
wm8994.h
wm8997-tables.c
wm8998-tables.c