diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-12-30 16:02:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-30 17:44:07 +0100 |
commit | e1717d2ea09fb83f3211bcc9ceeaf42fce58fae5 (patch) | |
tree | ef89896d836591e3e5d774c93902b52d33241aea /drivers/hwmon/ibmpex.c | |
parent | 5998ea6214249e2fe4d23ad43319f0bf4c7d5903 (diff) | |
download | linux-e1717d2ea09fb83f3211bcc9ceeaf42fce58fae5.tar.bz2 |
counter: stm32-timer-cnt: Convert to new counter registration
This fixes device lifetime issues where it was possible to free a live
struct device.
Fixes: ad29937e206f ("counter: Add STM32 Timer quadrature encoder")
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211230150300.72196-21-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/ibmpex.c')
0 files changed, 0 insertions, 0 deletions