diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-12-30 16:02:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-30 17:44:07 +0100 |
commit | 9e884bb19ca84bbba179b8ccccb2694badd4150f (patch) | |
tree | 21fd214de3f2220f0cbe22e024e1d8c3f1bf853a /drivers/ptp | |
parent | 98644726044e7f08322ccfb683773514810744e8 (diff) | |
download | linux-9e884bb19ca84bbba179b8ccccb2694badd4150f.tar.gz linux-9e884bb19ca84bbba179b8ccccb2694badd4150f.tar.bz2 linux-9e884bb19ca84bbba179b8ccccb2694badd4150f.zip |
counter: 104-quad-8: Convert to new counter registration
This fixes device lifetime issues where it was possible to free a live
struct device.
Fixes: f1d8a071d45b ("counter: 104-quad-8: Add Generic Counter interface support")
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-16-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions