diff options
| author | Amin GATTOUT <amin.gattout@gmail.com> | 2026-03-04 18:10:42 +0100 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-03-09 13:06:48 +0100 |
| commit | f630c79accf67ad3e0f74fdc7c705f5401bf8658 (patch) | |
| tree | 5dff4a7c618549a958ecfad968b1b4d7e399d98e /tools/perf/scripts/python | |
| parent | 8d10dd8907e1c0e619d5e785365875bb758d43ce (diff) | |
fbdev: wmt_ge_rops: use devm_platform_ioremap_resource()
Replace the open-coded platform_get_resource() + ioremap() pair with
devm_platform_ioremap_resource(), which requests the memory region and
maps it in a single call, with automatic cleanup on device removal.
Also reset regbase to NULL in remove() so that the single-instance
guard in probe() works correctly if the device is re-probed.
Signed-off-by: Amin GATTOUT <amin.gattout@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
