-
Joaquín Ignacio Aramendía authored
Move detection logic to the start of init() function so we won't instantiate the driver if the board is not compatible. Signed-off-by:
Joaquín Ignacio Aramendía <samsagax@gmail.com> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20230717222526.229984-3-samsagax@gmail.com Signed-off-by:
Guenter Roeck <linux@roeck-us.net>
49ffb5ee