Re: [PATCH 2/2] misc/at25: Add an .id_table to at25 to facilitatedriver loading and binding.

From: Ivo Sieben
Date: Mon Sep 17 2012 - 03:49:13 EST


Hi,

2012/8/22 David Daney <ddaney.cavm@xxxxxxxxx>:
> From: David Daney <david.daney@xxxxxxxxxx>
>
> /*-------------------------------------------------------------------------*/
> +static const struct spi_device_id at25_id[] = {
> + {"at25", 0},
> + {"m95256", 0},
> + { }
> +};
> +MODULE_DEVICE_TABLE(spi, at25_id);

I use this driver for the ST M95040, M95020 & M95010 eeprom devices.
So wouldn't it be better to use the "famliy" name for these chips
("m95" instead of "m95256").

Regards,
Ivo Sieben
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/