Message ID | 1395756019-23989-1-git-send-email-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Mar 25, 2014 at 03:00:19PM +0100, Uwe Kleine-König wrote: > Wolfgang Sang pointed out that "efm32,$device" is non-standard. So use the > common scheme and prefix device with "efm32-". The old compatible string > is left in place until arch/arm/boot/dts/efm32* is fixed. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Wolfram Sang <wsa@the-dreams.de>
On Tue, Mar 25, 2014 at 03:00:19PM +0100, Uwe Kleine-König wrote: > Wolfgang Sang pointed out that "efm32,$device" is non-standard. So use the > common scheme and prefix device with "efm32-". The old compatible string > is left in place until arch/arm/boot/dts/efm32* is fixed. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked too fast. Documentation update is missing.
diff --git a/drivers/spi/spi-efm32.c b/drivers/spi/spi-efm32.c index e60934ad4c5f..be44a3eeb5e8 100644 --- a/drivers/spi/spi-efm32.c +++ b/drivers/spi/spi-efm32.c @@ -472,6 +472,9 @@ static int efm32_spi_remove(struct platform_device *pdev) static const struct of_device_id efm32_spi_dt_ids[] = { { + .compatible = "energymicro,efm32-spi", + }, { + /* doesn't follow the "vendor,device" scheme, don't use */ .compatible = "efm32,spi", }, { /* sentinel */
Wolfgang Sang pointed out that "efm32,$device" is non-standard. So use the common scheme and prefix device with "efm32-". The old compatible string is left in place until arch/arm/boot/dts/efm32* is fixed. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> --- drivers/spi/spi-efm32.c | 3 +++ 1 file changed, 3 insertions(+)