linux-stable/include
Uwe Kleine-König 4c425a4bfb pwm: Provide an inline function to get the parent device of a given chip
[ Upstream commit 4e59267c7a ]

Currently a pwm_chip stores in its struct device *dev member a pointer
to the parent device. Preparing a change that embeds a full struct
device in struct pwm_chip, this accessor function should be used in all
drivers directly accessing chip->dev now. This way struct pwm_chip and
this new function can be changed without having to touch all drivers in
the same change set.

Make use of this function in the framework's core sources.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/cc30090d2f9762bed9854a55612144bccc910781.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Stable-dep-of: 3e551115ae ("pwm: meson: Add check for error from clk_round_rate()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:49:18 +02:00
..
acpi ACPI: bus: allow _UID matching for integer zero 2024-04-17 11:23:29 +02:00
asm-generic sched: Add missing memory barrier in switch_mm_cid 2024-04-27 17:13:01 +02:00
clocksource
crypto crypto: skcipher - remove excess kerneldoc members 2023-12-29 11:25:56 +08:00
drm drm: add drm_gem_object_is_shared_for_memory_stats() helper 2024-05-02 16:35:23 +02:00
dt-bindings clk: renesas: r8a779g0: Correct PFC/GPIO parent clocks 2024-03-26 18:17:05 -04:00
keys
kunit Networking changes for 6.8. 2024-01-11 10:07:29 -08:00
kvm KVM: arm64: Fix host-programmed guest events in nVHE 2024-04-10 16:38:01 +02:00
linux pwm: Provide an inline function to get the parent device of a given chip 2024-05-30 09:49:18 +02:00
math-emu
media media: mc: Add num_links flag to media_pad 2024-04-03 15:32:03 +02:00
memory
misc
net tcp: increase the default TCP scaling ratio 2024-05-30 09:49:11 +02:00
pcmcia
ras
rdma
rv
scsi scsi: sd: Fix TCG OPAL unlock on system resume 2024-04-03 15:32:45 +02:00
soc soc: qcom: socinfo: rename PM2250 to PM4125 2024-03-26 18:16:34 -04:00
sound ALSA: emu10k1: move the whole GPIO event handling to the workqueue 2024-05-17 12:14:30 +02:00
target
trace rxrpc: Fix the names of the fields in the ACK trailer struct 2024-05-17 12:14:54 +02:00
uapi bpf: Pack struct bpf_fib_lookup 2024-05-30 09:49:08 +02:00
ufs scsi: ufs: core: Rename ufshcd_auto_hibern8_enable() and make it static 2023-12-18 20:51:14 -05:00
vdso
video video/sticore: Remove info field from STI struct 2024-01-12 12:38:37 +01:00
xen xen: update PV-device interface headers 2024-01-09 11:46:24 +01:00