diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-30 21:53:24 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 14:55:46 +0200 |
| commit | 18036ec7334ba6440eb774cdd7e94db09c581fbd (patch) | |
| tree | 1e90963d9c07b4ccfec0f54796bc004f95c1e932 /tools/perf/scripts/python | |
| parent | ec4b806d0c7e688337241e9aa4b153082fd3275b (diff) | |
nvmem: nintendo-otp: Use of_device_get_match_data()
Use of_device_get_match_data() to retrieve the devtype data instead of open-coding the OF match lookup and dereferencing match->data.
This also replaces the deprecated of_device.h include with of.h.
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://patch.msgid.link/20260530205333.117458-6-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
