OSDN Git Service

cxl: Use for_each_compatible_node() macro
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 12 Jul 2016 11:30:11 +0000 (11:30 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:26:25 +0000 (20:26 +1000)
commitfc9f75ef2fdf46fc859b991dbf473a583edfb0e2
treeda297b8c2bcaaf36db1bf1475422c1227f912052
parent24af8c5a52a70bbfd275f59836feadd9b9ebc83b
cxl: Use for_each_compatible_node() macro

Use for_each_compatible_node() macro instead of open coding it.

Generated by Coccinelle.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/base.c