Commit f0fb67c
thermal/drivers/mediatek: Use of_address_to_resource()
Replace of_get_address() and of_translate_address() calls with single
call to of_address_to_resource().
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230319163231.226738-1-robh@kernel.org1 parent a3e9a9a commit f0fb67c
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | | - | |
| 982 | + | |
984 | 983 | | |
985 | | - | |
986 | | - | |
| 984 | + | |
987 | 985 | | |
988 | 986 | | |
989 | | - | |
| 987 | + | |
990 | 988 | | |
991 | 989 | | |
992 | 990 | | |
| |||
0 commit comments