summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/clk-mt8173-topckgen.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2023-05-07 16:39:06 +0300
committerStephen Boyd <sboyd@kernel.org>2023-05-11 00:22:44 +0300
commitad527ca87e4ea42d7baad2ce710b44069287931b (patch)
tree80a230c6ce98ce322140161ac9d388fc973a4a69 /drivers/clk/mediatek/clk-mt8173-topckgen.c
parentb5e10beeafaa3266559c582dde7534ae3fe8cefb (diff)
downloadlinux-ad527ca87e4ea42d7baad2ce710b44069287931b.tar.xz
clk: rs9: 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: 892e0ddea1aa ("clk: rs9: Add Renesas 9-series PCIe clock generator driver") Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Link: https://lore.kernel.org/r/20230507133906.15061-3-marek.vasut+renesas@mailbox.org Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt8173-topckgen.c')
0 files changed, 0 insertions, 0 deletions