diff options
| author | Samuel Holland <[email protected]> | 2022-05-09 00:29:37 -0500 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2022-07-18 09:37:50 +0100 |
| commit | 66391263f8484aae41cae80753f31c0edc6138af (patch) | |
| tree | fca2526eaa4f994ea299eb0a8e057b88532d8bfa /include/clk | |
| parent | 3fb1988aad29185409a9e05a1111b7e2b7e5f8fc (diff) | |
reset: sunxi: Reuse the platform data from the clock driver
The clock and reset drivers use the exact same platform data. Simplify
them by sharing the object. This is safe because the parent device
(the clock device) always gets its driver model callbacks run first.
Signed-off-by: Samuel Holland <[email protected]>
Acked-by: Andre Przywara <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include/clk')
| -rw-r--r-- | include/clk/sunxi.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/clk/sunxi.h b/include/clk/sunxi.h index 640b5cfc331..c298195c51e 100644 --- a/include/clk/sunxi.h +++ b/include/clk/sunxi.h @@ -87,12 +87,4 @@ struct ccu_plat { extern struct clk_ops sunxi_clk_ops; -/** - * sunxi_reset_bind() - reset binding - * - * @dev: reset device - * Return: 0 success, or error value - */ -int sunxi_reset_bind(struct udevice *dev); - #endif /* _CLK_SUNXI_H */ |
