Re: [PATCH] spi: Add a sysfs interface to instantiate devices

From: Mark Brown
Date: Wed Dec 27 2017 - 05:31:24 EST


On Sat, Dec 23, 2017 at 09:58:51AM +0100, Geert Uytterhoeven wrote:

> >> > > + struct spi_board_info bi = {
> >> > > + .modalias = "spidev",

> I would make it a little bit more generic and extract the modalias from the
> string written.

Right, that'd be much better.

Attachment: signature.asc
Description: PGP signature