Re: [PATCH v5 2/3] i2c: mpc: Use of_property_read_u32 instead of of_get_property

From: Wolfram Sang
Date: Wed Mar 29 2023 - 15:08:46 EST


On Sat, Mar 18, 2023 at 12:33:37AM +0100, Andi Shyti wrote:
> "of_property_read_u32()" is preferred to "of_get_property()" for
> retreiving u32 from the device tree. Replace it.
>
> Suggested-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Andi Shyti <andi.shyti@xxxxxxxxxx>
> Tested-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>

Fixed this checkpatch warning:

WARNING: 'retreiving' may be misspelled - perhaps 'retrieving'?

and applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature