Re: [PATCH V2] platforms/83xx: Use of_device_get_match_data()

2022-05-24 Thread Christophe JAILLET
Le 25/02/2022 à 02:07, cgel@gmail.com a écrit : From: Minghao Chi (CGEL ZTE) Use of_device_get_match_data() to simplify the code. v1->v2: Add a judgment on the return value of the A function as NULL Reported-by: Zeal Robot Signed-off-by: Minghao Chi (CGEL ZTE) --- arch/powerpc/

Re: [PATCH V2] platforms/83xx: Use of_device_get_match_data()

2022-05-24 Thread Michael Ellerman
On Fri, 25 Feb 2022 01:07:37 +, cgel@gmail.com wrote: > From: Minghao Chi (CGEL ZTE) > > Use of_device_get_match_data() to simplify the code. > v1->v2: > Add a judgment on the return value of the A function as NULL > > > [...] Applied to powerpc/next. [1/1] platforms/83xx: Use o

[PATCH V2] platforms/83xx: Use of_device_get_match_data()

2022-02-24 Thread cgel . zte
From: Minghao Chi (CGEL ZTE) Use of_device_get_match_data() to simplify the code. v1->v2: Add a judgment on the return value of the A function as NULL Reported-by: Zeal Robot Signed-off-by: Minghao Chi (CGEL ZTE) --- arch/powerpc/platforms/83xx/suspend.c | 7 ++- 1 file changed, 2