diff options
| author | Sam Protsenko <[email protected]> | 2023-11-07 13:05:59 -0600 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2023-11-23 15:24:18 +0900 |
| commit | 5ad21de6bae0a6d51d4b0ff8eedfb795ed2d4581 (patch) | |
| tree | c06ca770af156bab70a2fcf5558c482c320ec28e /include/linux/linux_string.h | |
| parent | a0615ffc99a5c5e23b9fe5a8116fc265483be2bd (diff) | |
serial: s5p: Use livetree API to get "id" property
Use dev_read_u8_default() instead of fdtdec_get_int() to read the "id"
property from device tree, as suggested in [1]. dev_* API is already
used in this driver, so there is no reason to stick to fdtdec_* API.
This also fixes checkpatch warning:
WARNING: Use the livetree API (dev_read_...)
[1] doc/develop/driver-model/livetree.rst
Signed-off-by: Sam Protsenko <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
