Skip to content
Commit d4383d67 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Marc Kleine-Budde
Browse files

can: mcp251x: simplify with spi_get_device_match_data()



Use spi_get_device_match_data() helper to simplify a bit the driver.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/all/20240606142424.129709-2-krzysztof.kozlowski@linaro.org


[mkl: add intermediate cast to uintptr_t]
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 1562a49d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment