Skip to content
Commit 41ab724a authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Grant Likely
Browse files

spi/orion: Use module_platform_driver()



This patch reduces and simplifies initalization code by
using module_platform_driver().
With this change it's necessary to remove the __init annotation
to avoid section mismatch warnings.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent c0fde3ba
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