Greg Kroah-Hartman b84d6d3b45 vio: move to_vio_dev() to use container_of_const()
The driver core is changing to pass some pointers as const, so move
to_vio_dev() to use container_of_const() to handle this change.
to_vio_dev() now properly keeps the const-ness of the pointer passed
into it, while as before it could be lost.

Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230111113018.459199-9-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-27 13:45:41 +01:00
..
2018-02-21 15:35:43 -08:00
2017-11-15 14:21:03 +09:00
2018-10-14 20:19:31 -07:00
2020-04-02 18:11:55 -07:00
2021-01-03 20:05:18 -05:00
2021-01-03 20:05:18 -05:00
2022-09-08 16:49:14 +02:00
2022-09-08 16:49:14 +02:00
2018-05-09 06:54:27 +02:00
2018-12-28 14:12:21 -08:00
2022-09-29 19:21:10 -07:00
2022-02-25 09:36:06 +01:00
2022-02-25 09:36:05 +01:00