Commit f25fbd5
tty: serial: samsung: simplify getting OF match data
Simplify the code with of_device_get_match_data() and use dev_of_node()
to remove ifdef-erry.
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220308080919.152715-9-krzysztof.kozlowski@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent bb1d981 commit f25fbd5
1 file changed
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2147 | 2147 | | |
2148 | 2148 | | |
2149 | 2149 | | |
2150 | | - | |
2151 | | - | |
2152 | | - | |
2153 | | - | |
2154 | 2150 | | |
2155 | 2151 | | |
2156 | 2152 | | |
2157 | 2153 | | |
2158 | 2154 | | |
2159 | | - | |
2160 | | - | |
2161 | | - | |
| 2155 | + | |
| 2156 | + | |
2162 | 2157 | | |
2163 | | - | |
2164 | | - | |
2165 | | - | |
2166 | | - | |
2167 | 2158 | | |
2168 | 2159 | | |
2169 | 2160 | | |
| |||
0 commit comments