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 <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent bb1d981 commit f25fbd5
1 file changed
+2
-11
lines changed| 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