diff options
| author | Peng Fan <[email protected]> | 2026-05-26 14:48:01 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-09 14:53:34 -0600 |
| commit | 305c014fdb7208ced179e47dc3634e7faa6a2502 (patch) | |
| tree | 62e2647cc392c401f4da3e1fa89fa9dbb18e49f5 /contrib/apps/httpserver | |
| parent | d26cbf4667c9b8193b06c6f8e9fa7334866c94ac (diff) | |
reset: ast: Use dev_read_addr_ptr()
Use dev_read_addr_ptr() which supports both live device tree and flat DT
backends, avoiding direct dependency on devfdt_* helpers.
While at here, correct error return value, when priv->scu is NULL,
PTR_ERR(priv->scu) is 0 which implies success. Change to return '-EINVAL'.
No functional changes.
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'contrib/apps/httpserver')
0 files changed, 0 insertions, 0 deletions
