diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-12-30 18:02:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-30 19:44:07 +0300 |
commit | e75d678d041fe55c7289e2a3d36de9c4f0abbf97 (patch) | |
tree | 17225827c0926d4b64255c695e00658b4bf3f22d /drivers/counter/ti-eqep.c | |
parent | e1717d2ea09fb83f3211bcc9ceeaf42fce58fae5 (diff) | |
download | linux-e75d678d041fe55c7289e2a3d36de9c4f0abbf97.tar.xz |
counter: stm32-lptimer-cnt: Convert to new counter registration
This fixes device lifetime issues where it was possible to free a live
struct device.
Fixes: 597f55e3f36c ("counter: stm32-lptimer: add counter device")
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-22-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/counter/ti-eqep.c')
0 files changed, 0 insertions, 0 deletions