diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-12-30 16:02:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-30 17:44:07 +0100 |
commit | aefc7e1797243eaa7a5e03629819d4aaa3c3feae (patch) | |
tree | 463505d2787b972acdca1aa8e220b86f6e8e5a2a /samples/kmemleak | |
parent | 9e884bb19ca84bbba179b8ccccb2694badd4150f (diff) | |
download | linux-aefc7e1797243eaa7a5e03629819d4aaa3c3feae.tar.bz2 |
counter: interrupt-cnt: Convert to new counter registration
This fixes device lifetime issues where it was possible to free a live
struct device.
Fixes: a55ebd47f21f ("counter: add IRQ or GPIO based counter")
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-17-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kmemleak')
0 files changed, 0 insertions, 0 deletions