summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-05-07 16:39:05 +0300
committerStephen Boyd <sboyd@kernel.org>2023-05-11 00:22:44 +0300
commitb5e10beeafaa3266559c582dde7534ae3fe8cefb (patch)
treee4a0e6d15113a2a1b9bc2cefe99ef7d44639f97a /scripts/gdb/linux/utils.py
parentbe3471c5bd9b921c9adfab7948e8021611639164 (diff)
downloadlinux-b5e10beeafaa3266559c582dde7534ae3fe8cefb.tar.xz
clk: vc7: Fix .driver_data content in i2c_device_id
The .driver_data content in i2c_device_id table must match the .data content in of_device_id table, else device_get_match_data() would return bogus value on i2c_device_id match. Align the two tables. The i2c_device_id table is now converted from of_device_id using 's@.compatible = "renesas,\([^"]\+"\), .data = \(.*\)@"\1, .driver_data = (kernel_ulong_t)\2@' Fixes: 48c5e98fedd9 ("clk: Renesas versaclock7 ccf device driver") Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Link: https://lore.kernel.org/r/20230507133906.15061-2-marek.vasut+renesas@mailbox.org Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions