Commit be40a3a
i2c: mpc: Use of_property_read_u32 instead of of_get_property
"of_property_read_u32()" is preferred to "of_get_property()" for
retrieving u32 from the device tree. Replace it.
Suggested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>1 parent ba085a8 commit be40a3a
1 file changed
Lines changed: 13 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
774 | 773 | | |
775 | 774 | | |
776 | 775 | | |
| |||
781 | 780 | | |
782 | 781 | | |
783 | 782 | | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | 783 | | |
| 784 | + | |
| 785 | + | |
789 | 786 | | |
790 | 787 | | |
791 | 788 | | |
| |||
831 | 828 | | |
832 | 829 | | |
833 | 830 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
838 | 835 | | |
839 | 836 | | |
840 | 837 | | |
| |||
846 | 843 | | |
847 | 844 | | |
848 | 845 | | |
849 | | - | |
850 | | - | |
851 | | - | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
852 | 850 | | |
853 | 851 | | |
| 852 | + | |
| 853 | + | |
854 | 854 | | |
| 855 | + | |
855 | 856 | | |
856 | 857 | | |
857 | 858 | | |
| |||
0 commit comments