* [PATCH] clk: return unsigned int in dummy non-OF of_clk_get_parent_count()
@ 2016-08-26 12:58 Rafał Miłecki
2016-08-26 19:27 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Rafał Miłecki @ 2016-08-26 12:58 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-clk, Rafał Miłecki, open list
From: Rafał Miłecki <rafal@milecki.pl>
In the commit 929e7f3bc7b82 ("clk: Make of_clk_get_parent_count() return
unsigned ints") of_clk_get_parent_count has been modified to return
unsigned int. There is also a dummy implementation of the same function
for configs without CONFIG_OF. For the consistency it should be updated
as well.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
include/linux/clk-provider.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index f403b8a..37b8fdc 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -854,7 +854,7 @@ of_clk_hw_onecell_get(struct of_phandle_args *clkspec, void *data)
{
return ERR_PTR(-ENOENT);
}
-static inline int of_clk_get_parent_count(struct device_node *np)
+static inline unsigned int of_clk_get_parent_count(struct device_node *np)
{
return 0;
}
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: return unsigned int in dummy non-OF of_clk_get_parent_count()
2016-08-26 12:58 [PATCH] clk: return unsigned int in dummy non-OF of_clk_get_parent_count() Rafał Miłecki
@ 2016-08-26 19:27 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2016-08-26 19:27 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Michael Turquette, linux-clk, Rafał Miłecki, open list
On 08/26, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> In the commit 929e7f3bc7b82 ("clk: Make of_clk_get_parent_count() return
> unsigned ints") of_clk_get_parent_count has been modified to return
> unsigned int. There is also a dummy implementation of the same function
> for configs without CONFIG_OF. For the consistency it should be updated
> as well.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-26 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-26 12:58 [PATCH] clk: return unsigned int in dummy non-OF of_clk_get_parent_count() Rafał Miłecki
2016-08-26 19:27 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.