Skip to content
Commit dcacb364 authored by Zijun Hu's avatar Zijun Hu Committed by Jakub Kicinski
Browse files

net: wan: framer: Simplify API framer_provider_simple_of_xlate() implementation



Simplify framer_provider_simple_of_xlate() implementation by API
class_find_device_by_of_node().

Also correct comments to mark its parameter @dev as unused instead of
@args in passing.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZijun Hu <quic_zijuhu@quicinc.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241213-net_fix-v2-1-6d06130d630f@quicinc.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 734ff310
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment