diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-03-17 11:40:36 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-04-26 21:29:17 +0200 |
commit | 4c56b1434b814899c42a9d9f43d8265371282cd0 (patch) | |
tree | 7ab409255b555e817cdfd35e73ac61250f2c1c82 /drivers/pwm/pwm-stm32.c | |
parent | ee37bf50749f06b29394d7ba8a85b47f023b61e2 (diff) | |
download | linux-4c56b1434b814899c42a9d9f43d8265371282cd0.tar.gz linux-4c56b1434b814899c42a9d9f43d8265371282cd0.tar.bz2 linux-4c56b1434b814899c42a9d9f43d8265371282cd0.zip |
pwm: Add a struct device to struct pwm_chip
This replaces the formerly dynamically allocated struct device. This
allows to additionally use it to track the lifetime of the struct
pwm_chip. Otherwise the new struct device provides the same sysfs API as
was provided by the dynamic device before.
Link: https://lore.kernel.org/r/35c65ea7f6de789a568ff39d7b6b4ce80de4b7dc.1710670958.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions