]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/papr_scm: use dev_get_drvdata
authorHaowen Bai <baihaowen@meizu.com>
Tue, 31 May 2022 09:19:50 +0000 (17:19 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 09:37:07 +0000 (19:37 +1000)
commit833c7b6d7562d4f723198c55c534de5be0a0e744
tree8ea9046bb8e971e05e74927ef546ad1abdbd905b
parent459fa3137fd18381acf082598f1bcf2902197638
powerpc/papr_scm: use dev_get_drvdata

Eliminate direct accesses to the driver_data field.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1653988790-19999-1-git-send-email-baihaowen@meizu.com
arch/powerpc/platforms/pseries/papr_scm.c