[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181203111309.3709-1-phil.edworthy@renesas.com>
Date: Mon, 3 Dec 2018 11:13:07 +0000
From: Phil Edworthy <phil.edworthy@...esas.com>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Russell King <linux@...linux.org.uk>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Phil Edworthy <phil.edworthy@...esas.com>
Subject: [PATCH v9 0/2] clk: Add functions to get optional clocks
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
Powered by blists - more mailing lists