diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-10-08 19:20:39 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-11 21:57:28 +0100 |
commit | 50ec88120ea16cf8b9aabf8422c364166ce3ee17 (patch) | |
tree | 5cbab1bf89502169027e7127357a4ccf6b7fef37 /include/linux/can | |
parent | 371fd7baa81d2adb05c390f8f8a42a4f02173cbd (diff) | |
download | linux-stable-50ec88120ea16cf8b9aabf8422c364166ce3ee17.tar.gz linux-stable-50ec88120ea16cf8b9aabf8422c364166ce3ee17.tar.bz2 linux-stable-50ec88120ea16cf8b9aabf8422c364166ce3ee17.zip |
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>
Diffstat (limited to 'include/linux/can')
-rw-r--r-- | include/linux/can/platform/mcp251x.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/can/platform/mcp251x.h b/include/linux/can/platform/mcp251x.h deleted file mode 100644 index 9e5ac27fb6c1..000000000000 --- a/include/linux/can/platform/mcp251x.h +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CAN_PLATFORM_MCP251X_H -#define _CAN_PLATFORM_MCP251X_H - -/* - * - * CAN bus driver for Microchip 251x CAN Controller with SPI Interface - * - */ - -#include <linux/spi/spi.h> - -/* - * struct mcp251x_platform_data - MCP251X SPI CAN controller platform data - * @oscillator_frequency: - oscillator frequency in Hz - */ - -struct mcp251x_platform_data { - unsigned long oscillator_frequency; -}; - -#endif /* !_CAN_PLATFORM_MCP251X_H */ |