diff options
author | Fabio Estevam <festevam@gmail.com> | 2020-09-11 09:40:33 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-09-13 11:16:00 +0800 |
commit | 8485adf17a15faacc6403dce0b711ec8a1cbf403 (patch) | |
tree | 8b82bd9ed738d0dc39487a2aae4080fd46eaef5d /arch/arm/mach-imx/devices/devices.c | |
parent | e8d992fb529ee96d920ee9a9223dd02679d05c62 (diff) | |
download | lwn-8485adf17a15faacc6403dce0b711ec8a1cbf403.tar.gz lwn-8485adf17a15faacc6403dce0b711ec8a1cbf403.zip |
ARM: imx: Remove imx device directory
arch/arm/mach-imx/devices/ contains utilities for registering devices
in board file. Now that board files are gone, get rid of the devices
directory.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/devices/devices.c')
-rw-r--r-- | arch/arm/mach-imx/devices/devices.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/arm/mach-imx/devices/devices.c b/arch/arm/mach-imx/devices/devices.c deleted file mode 100644 index cd72f0894196..000000000000 --- a/arch/arm/mach-imx/devices/devices.c +++ /dev/null @@ -1,35 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2008 Sascha Hauer, kernel@pengutronix.de - */ - -#include <linux/kernel.h> -#include <linux/slab.h> -#include <linux/init.h> -#include <linux/err.h> -#include <linux/platform_device.h> - -#include "../common.h" -#include "devices-common.h" - -struct device mxc_aips_bus = { - .init_name = "mxc_aips", -}; - -struct device mxc_ahb_bus = { - .init_name = "mxc_ahb", -}; - -int __init mxc_device_init(void) -{ - int ret; - - ret = device_register(&mxc_aips_bus); - if (ret < 0) - goto done; - - ret = device_register(&mxc_ahb_bus); - -done: - return ret; -} |