You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mfd: syscon: Restore device_node_to_regmap() for non-syscon nodes
Commit ba5095e ("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: ba5095e ("mfd: syscon: Allow syscon nodes without a "syscon" compatible")
Cc: Will McVicker <[email protected]>
Cc: John Madieu <[email protected]>
Cc: Nishanth Menon <[email protected]>
Reported-by: Vaishnav Achath <[email protected]>
Signed-off-by: Rob Herring (Arm) <[email protected]>
0 commit comments