Commit 49ed37d6 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Greg Kroah-Hartman
Browse files

pwm: atmel-tcb: Put per-channel data into driver data



[ Upstream commit 78dca23b ]

This simplifies the code, reduces the number of memory allocations and
pointer dereferences.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
Stable-dep-of: 37f77070 ("pwm: atmel-tcb: Fix race condition and convert to guards")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 235af017
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment