diff options
author | Marek Vasut <[email protected]> | 2023-05-07 15:39:04 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-05-10 14:22:39 -0700 |
commit | be3471c5bd9b921c9adfab7948e8021611639164 (patch) | |
tree | dcfbffd9f18aad9072d00a27b3e06d0a39eae576 /lib/mpi/mpi-inline.h | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) |
clk: vc5: 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
'[email protected] = "idt,\([^"]\+"\), .data = \(.*\)@"\1, .driver_data = (kernel_ulong_t)\2@'
Fixes: 9adddb01ce5f ("clk: vc5: Add structure to describe particular chip features")
Signed-off-by: Marek Vasut <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Luca Ceresoli <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions