Thread (14 messages) flat view 14 messages, 4 authors, 2014-07-03

[RFC 4/5] clk: per-user clock accounting for debug

From: Rabin Vincent <hidden>
Date: 2014-06-30 19:49:56
Also in: linux-tegra, lkml

On Fri, Jun 27, 2014 at 04:44:24PM -0600, Stephen Warren wrote:
On 06/27/2014 01:57 AM, Tomeu Vizoso wrote:
quoted
 struct clk {
-	struct clk_core clk;
+	struct clk_core	*core;
+	unsigned int	enable_count;
+	const char	*dev_id;
+	const char	*con_id;
Why not just store the "struct device *" there instead of pulling the
name out of it, so ...
Probably because not all of the [of_]clk_get[_sys]() variants supply a
struct device *.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help