can: mcp251x: get rid of legacy platform data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Oct 2019 16:20:39 +0000 (19:20 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 11 Nov 2019 20:57:28 +0000 (21:57 +0100)
commit50ec88120ea16cf8b9aabf8422c364166ce3ee17
tree5cbab1bf89502169027e7127357a4ccf6b7fef37
parent371fd7baa81d2adb05c390f8f8a42a4f02173cbd
can: mcp251x: get rid of legacy platform data

Instead of using legacy platform data, switch to use device properties.
For clock frequency we are using well established clock-frequency property.

Users, two for now, are also converted here.

Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
arch/arm/mach-pxa/icontrol.c
arch/arm/mach-pxa/zeus.c
drivers/net/can/spi/mcp251x.c
include/linux/can/platform/mcp251x.h [deleted file]