lkml.org 
[lkml]   [2021]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] spi: spidev: Fix so the module is autoloaded when built as external
On Mon, Jan 04, 2021 at 04:34:35PM +0100, Gustav Wiklander wrote:
> From: Gustav Wiklander <gustavwi@axis.com>
>
> The spi framework sets the modalias for the spi device to belong in
> either the acpi device table or the SPI device table. It can never
> be in the OF table. Therefore the spidev driver should populate the
> spi device table rather than the OF table.
>
> NOTE: platform drivers and i2c drivers support aliases in the
> OF device table.

Why is this a good solution rather than ensuring the the OF IDs can be
used directly?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-01-04 22:38    [W:0.078 / U:1.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site