• Rob Herring's avatar
    net: can: Use device_get_match_data() · 5e6c3454
    Rob Herring authored
    Use preferred device_get_match_data() instead of of_match_device() to
    get the driver match data. With this, adjust the includes to explicitly
    include the correct headers.
    
    Error checking for matching and match data was not necessary as matching
    is always successful if we're already in probe and the match tables always
    have data pointers.
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    5e6c3454
c_can_platform.c 12.4 KB