summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorPrathu Baronia <prathubaronia2011@gmail.com>2023-05-18 19:16:56 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-31 19:01:32 +0100
commitab7f17fb5b776933dd1a3431ae02bc2e394e2cba (patch)
treeaca4d62368210788c6c8bafa457340e0a954a2cd /drivers/char
parentc9d9d11b8575a14d87e07950974950f975ba4b54 (diff)
downloadlinux-stable-ab7f17fb5b776933dd1a3431ae02bc2e394e2cba.tar.gz
linux-stable-ab7f17fb5b776933dd1a3431ae02bc2e394e2cba.tar.bz2
linux-stable-ab7f17fb5b776933dd1a3431ae02bc2e394e2cba.zip
amba: move to_amba_device() to use container_of_const
to_amba_device() now properly keeps the const-ness of the dev pointer passed into it, while as before it could be lost. Signed-off-by: Prathu Baronia <prathubaronia2011@gmail.com> Link: https://lore.kernel.org/r/20230518134656.9559-1-prathubaronia2011@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions