can: m_can: Add call to of_can_transceiver

Add call to new generic functions that provides support via a binding
to limit the arbitration rate and/or data rate imposed by the physical
transceiver connected to the MCAN peripheral.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Franklin S Cooper Jr 2018-01-10 16:25:19 +05:30 committed by Marc Kleine-Budde
parent cdf8259d65
commit 31643dc8fc
1 changed files with 2 additions and 0 deletions

View File

@ -1667,6 +1667,8 @@ static int m_can_plat_probe(struct platform_device *pdev)
devm_can_led_init(dev);
of_can_transceiver(dev);
dev_info(&pdev->dev, "%s device registered (irq=%d, version=%d)\n",
KBUILD_MODNAME, dev->irq, priv->version);