History

clk: core: replace clk_{readl,writel} with {readl,writel}

Now that clk_{readl,writel} is just an alias for {readl,writel}, we can switch all users of clk_* to use the accessors directly and remove the helpers.

Jonas Gorski committed 7 years ago

Commit 5834fd71 parent f12249819 files · +68 −83Browse files

Showing the changes to include/linux (1 of 19 files). Show all

Unified · Split

include/linux/clk-provider.h+0−15
@@ -1013,21 +1013,6 @@ static inline int of_clk_detect_critical(struct device_node *np, int index, · 1012 unmodified lines
1013}1013}
1014#endif /* CONFIG_OF */1014#endif /* CONFIG_OF */
1015 1015
1016/*
1017 * wrap access to peripherals in accessor routines
1018 * for improved portability across platforms
1019 */
1020
1021static inline u32 clk_readl(u32 __iomem *reg)
1022{
1023 return readl(reg);
1024}
1025
1026static inline void clk_writel(u32 val, u32 __iomem *reg)
1027{
1028 writel(val, reg);
1029}
1030
1031void clk_gate_restore_context(struct clk_hw *hw);1016void clk_gate_restore_context(struct clk_hw *hw);
1032 1017
1033#endif /* CONFIG_COMMON_CLK */1018#endif /* CONFIG_COMMON_CLK */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t