aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2022-12-05 13:12:04 +0100
committerGreg Kroah-Hartman <[email protected]>2022-12-06 16:55:25 +0100
commit6149f83b3165955e9519de483b30b26d1518ad0f (patch)
tree08a6718c5c71627408336a607d08cf62dc920422 /lib/mpi/mpi-mod.c
parent64f6a5d1922bf6d2b2d845de20d4563a6f328e2d (diff)
device.h: move kobj_to_dev() to use container_of_const()
Instead of rolling our own const-checking logic, use the newly introduced container_of_const() to handle it all for us automatically. Cc: Thomas Gleixner <[email protected]> Reviewed-by: Sakari Ailus <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions