diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-12-17 20:41:54 +0300 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2024-12-17 21:53:06 +0300 |
| commit | 7c4b497fd4032935676b9024396f187fee005739 (patch) | |
| tree | 8f20a5673edc64b2d3639e1ac02121cc3a160933 /include/linux/platform_data | |
| parent | 28fa3291cad1c201967ef93edc6e7f8ccc9afbc0 (diff) | |
| download | linux-7c4b497fd4032935676b9024396f187fee005739.tar.xz | |
clk: davinci: remove platform data struct
There are no board files using struct davinci_pll_platform_data anymore.
The structure itself is currently used to store a single pointer. Let's
remove the struct definition, the header and rework the driver to not
require the syscon regmap to be stored in probe().
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20241217174154.84441-1-brgl@bgdev.pl
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/clk-davinci-pll.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/platform_data/clk-davinci-pll.h b/include/linux/platform_data/clk-davinci-pll.h deleted file mode 100644 index e55dab1d578b..000000000000 --- a/include/linux/platform_data/clk-davinci-pll.h +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * PLL clock driver for TI Davinci SoCs - * - * Copyright (C) 2018 David Lechner <david@lechnology.com> - */ - -#ifndef __LINUX_PLATFORM_DATA_CLK_DAVINCI_PLL_H__ -#define __LINUX_PLATFORM_DATA_CLK_DAVINCI_PLL_H__ - -#include <linux/regmap.h> - -/** - * davinci_pll_platform_data - * @cfgchip: CFGCHIP syscon regmap - */ -struct davinci_pll_platform_data { - struct regmap *cfgchip; -}; - -#endif /* __LINUX_PLATFORM_DATA_CLK_DAVINCI_PLL_H__ */ |
