aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2025-01-24 19:16:44 +0000
committerLee Jones <[email protected]>2025-02-11 14:53:39 +0000
commit5728c92ae112301936006c5e305677beb1a7f578 (patch)
tree602f943c90d813306238036428c6d19d9f3d883d /scripts/generate_rust_target.rs
parentLinux 6.14-rc1 (diff)
downloadkernel-5728c92ae112301936006c5e305677beb1a7f578.tar.gz
kernel-5728c92ae112301936006c5e305677beb1a7f578.zip
mfd: syscon: Restore device_node_to_regmap() for non-syscon nodes
Commit ba5095ebbc7a ("mfd: syscon: Allow syscon nodes without a "syscon" compatible") broke drivers which call device_node_to_regmap() on nodes without a "syscon" compatible. Restore the prior behavior for device_node_to_regmap(). This also makes using device_node_to_regmap() incompatible with of_syscon_register_regmap() again, so add kerneldoc for device_node_to_regmap() and syscon_node_to_regmap() to make it clear how and when each one should be used. Fixes: ba5095ebbc7a ("mfd: syscon: Allow syscon nodes without a "syscon" compatible") Reported-by: Vaishnav Achath <[email protected]> Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Daniel Golle <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Tested-by: Chen-Yu Tsai <[email protected]> Tested-by: Nishanth Menon <[email protected]> Tested-by: Daniel Golle <[email protected]> Tested-by: Frank Wunderlich <[email protected]> Tested-by: Dhruva Gole <[email protected]> Tested-by: NĂ­colas F. R. A. Prado <[email protected]> Tested-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions