diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-09-20 00:16:17 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-01-12 10:53:12 +0100 |
commit | dec85a95167a98a4e237df11e234eed8ee718e78 (patch) | |
tree | a4651f4b1aab4cce3821f58fd657ba97a69b4bc7 /arch/arm/mach-davinci/mux.c | |
parent | ARM: davinci: drop DAVINCI_DMxxx references (diff) | |
download | linux-dec85a95167a98a4e237df11e234eed8ee718e78.tar.xz linux-dec85a95167a98a4e237df11e234eed8ee718e78.zip |
ARM: davinci: clean up platform support
With the board file support gone, and the platform using
DT only, a lot of the remaining code is no longer referenced
and can be removed.
Technically, the DT file only references DA850, but since that
is very similar to DA830, I'm leaving the latter.
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-davinci/mux.c')
-rw-r--r-- | arch/arm/mach-davinci/mux.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-davinci/mux.c b/arch/arm/mach-davinci/mux.c index 814a6b714010..37de35eb6e8b 100644 --- a/arch/arm/mach-davinci/mux.c +++ b/arch/arm/mach-davinci/mux.c @@ -97,18 +97,3 @@ int davinci_cfg_reg(const unsigned long index) return 0; } -EXPORT_SYMBOL(davinci_cfg_reg); - -int davinci_cfg_reg_list(const short pins[]) -{ - int i, error = -EINVAL; - - if (pins) - for (i = 0; pins[i] >= 0; i++) { - error = davinci_cfg_reg(pins[i]); - if (error) - break; - } - - return error; -} |