lkml.org 
[lkml]   [2018]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v9 0/2] clk: Add functions to get optional clocks
Date
Quite a few drivers get an optional clock, e.g. a bus clock required to 
access peripheral's registers that is always enabled on some devices.

v9:
- Add a separate patch to add a comment about __of_clk_get_by_name() error
values.
- Add brackets after devm_clk_get so people know it's a function.
- Add kernel doc for clk_get_optional().


Phil Edworthy (2):
clk: Add comment about __of_clk_get_by_name() error values
clk: Add (devm_)clk_get_optional() functions

drivers/clk/clk-devres.c | 11 +++++++++++
drivers/clk/clkdev.c | 6 ++++++
include/linux/clk.h | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+)

--
2.17.1

\
 
 \ /
  Last update: 2018-12-03 12:14    [W:0.108 / U:8.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site