counter: microchip-tcb-capture: Convert to new counter registration
This fixes device lifetime issues where it was possible to free a live struct device. Fixes: 106b1041 ("counter: Add microchip TCB capture 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-20-u.kleine-koenig@pengutronix.de Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment