[PATCH] i2c: powermac: Simplify reading the "reg" and "i2c-address" property

2020-04-15 Thread Aishwarya R
>> Use of_property_read_u32 to read the "reg" and "i2c-address" property >> instead of using of_get_property to check the return values. >> >> Signed-off-by: Aishwarya R > This is quite a fragile driver. Have you tested it on HW? T

[PATCH] i2c: powermac: Simplify reading the "reg" and "i2c-address" property

2020-04-08 Thread Aishwarya R
Use of_property_read_u32 to read the "reg" and "i2c-address" property instead of using of_get_property to check the return values. Signed-off-by: Aishwarya R --- drivers/i2c/busses/i2c-powermac.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff