]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/platforms/83xx: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Fri, 25 Feb 2022 01:07:37 +0000 (01:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:58:31 +0000 (15:58 +1000)
commitf572b0a0eed3788c8f1a5938f6e48d4f99d8eb6f
treeeff75232a805b650a7cfb16de74f3607f30a6513
parent7781a498681b22a739329f6298862dbc7c7a00fe
powerpc/platforms/83xx: Use of_device_get_match_data()

Use of_device_get_match_data() to simplify the code.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220225010737.2038781-1-chi.minghao@zte.com.cn
arch/powerpc/platforms/83xx/suspend.c